View video tutorial

HTML <br> Tag

HTML

The <br> element creates a line break in the text.

HTML <br> Tag


➔ It creates a line break.

➔ It is often useful to write a poem or an address, where the division of the line is significant.

➔ This tag is an empty tag.

Supported Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<p>For line breaks<br> in a text, <br> this <br> tag is <br> used.</p>
Try it Now »

Click on the "Try it Now" button to see how it works.