You need to know the difference between the normal centre line and a hazard warning line. If there’s a hazard ahead, the markings are longer and the gaps shorter. This gives you advance warning of an unspecified hazard.
You may also be interested in these theory test questions