A horizontal line has a rate of change of zero and is considered a constant function. Examples include y=5 and f(x)=-17. A vertical line is not a function because it has the same x-value associated with multiple y-values, so it violates the vertical line test.