Signals, Signs and Pavement Markings · Pavement Markings
Single solid white line

You may travel in the same direction on both sides of this line, but do not cross the line unless you must do so to avoid a hazard. Also used to discourage lane changes near intersections.
Learn it with your state's rules
DMV One Way teaches the whole handbook slide by slide and checks it with practice questions.