Breaks and Horizontal Rules

Contact Us or call 1-877-932-8228
Breaks and Horizontal Rules

Breaks and Horizontal Rules

The <br> tag forces a line break. The <hr> tag creates a horizontal rule across the page. The code below shows how they are used:

Code Sample:

Text/Demos/BRandHR.html
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Breaks and Horizontal Rules</title>
</head>
<body>
<p>Sometimes<br>it is desirable<br>to break text across lines.</p>
<hr>
<p>And to separate text with horizontal rules.</p>
</body>
</html>

The screenshot below shows how they appear by default:Breaks and Horizontal Rules

Next