revision:
The <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant. The <br> element has a single, well-defined purpose — to create a line break in a block of text. As such, it has no dimensions or visual output of its own, and there is very little you can do to style it.
It is an empty tag, which means it does not need the company of end tag. If you place the tag in the HTML code, then it works the same as pressing the enter key in a word processor.
<br>
O'er all the hilltops
Is quiet now,
In all the treetops
Hearest thou
Hardly a breath;
The birds are asleep in the trees:
Wait, soon like these
Thou too shalt rest.
Codes:
<p class="spec"> O'er all the hilltops<br> Is quiet now,<br> In all the treetops<br> Hearest thou<br> Hardly a breath;<br> The birds are asleep in the trees:<br> Wait, soon like these<br> Thou too shalt rest. </p>
If you want to break a line
in a paragraph,
use the BR element in
your HTML document.
Codes:
<p class="spec">If you want to break a line <br> in a paragraph, <br> use the BR element in <br> your HTML document. </p>