Excuse me. I want to ask, so $H$ is given by $V(h) \cap X$. Look at the homogeneous polynomial h, if we pick an affine chart and set one of projective coordinate equal to 1. If we convert back to Projective coordinates we get rational function $s$ on $X$ such that $div(s)_X = H + \text{other things}$?