HTML Line Break Tags

Line break - <br> tag

This <br> element produces a line break in text.

If you write a text using some spaces, browser will omit all the white spaces. So we are using this <br> tag.

It is useful for writing a poem or an address.

This tag does not contain end tag.


<br />


Try Yourself

pre tag

<pre> tag is a Preformatted text.

This will print exactly what you write, with all the white space and new line space.


Try Yourself