linebreaks html code example Example: how to do a line break in html <p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>