In all cases, horizontal lines remain parallel to the x-axis. It never intersects the x-axis but only intersects the y-axis. The value of x can change, but y always tends to be constant for horizontal lines.
The equation for the vertical line is represented as x=a,
Here, ‘a’ is the point where this line intersects the x-axis.
x is the respective coordinates of any point lying on the line, this represents that the equation is not dependent on y.
⇒ Horizontal lines and vertical lines are perpendicular to each other.