HTML br line break tag (tag)



 In HTML files, instead of using \n(new line) to break lines, use <br> to make content breaks (line break).

\n It will be displayed as a blank character in the HTML page, not a new line.

Give an example of use:

<p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>

The effect presented on the web page will look like the following:

To force
line breaks
in a text,
use the br
element.

<br> is an empty element without closing tag.

Post a Comment

0 Comments