HTML Lines

Just like headings, we need to be able to separate our HTML documents into different horizontal lines or using line breaks. We use the HTML tag <br /> for line breaks, to move to next line and we use the HTML tag <hr /> for horizontal lines, when we need to separate parts of a document with horizontal lines.

<hr />

The <hr /> tag is used to create horizontal lines. This can be very useful when one is trying to separate different headings or parts of the HTML document from one another.

<br />

The <br /> tag is used to create line breaks. This is a very important tag because most times we want to leave a line between paragraphs or text and just need to create a line break.