<?xml version="1.0" encoding="utf-8"?>

Adding horizontal rules

Adding horizontal rules

Let's say you have a dramatic change of scene in a story or a topic shift within a final paper section. Which HTML element can help you add a visual break? Applying white space may not be enough, and the <hr> tag comes in handy here. It adds a horizontal line that is left-aligned by default. This tag is empty and doesn't require closing.

Improve your UX & Product skills with interactive courses that actually work