A line can have no x-intercept or no y-intercept, but not both.
The x-intercept is where a line crosses the x-axis. The y-axis is where a line crosses the y-axis.
The equation of a vertical line is
The equation of a horizontal line is
http://algebralab.org/lessons/lesson.aspx?file=Algebra_LinearEqIntercepts.xml