Javatpoint Logo
Javatpoint Logo

What does br mean in html

The br is a tag in Html. Html <br> tag is used to break the line of text. This tag is useful when users have to write the poem, address, and code samples.

The <br> tag is an empty tag or unpair tag, i.e., there is no need to close this tag. But in the code of XHTML, we have to close the <br> tag.

We can easily understand the br tag by an example. So, we will provide the following two examples.

Example 1: This example shows the code of how to use <br> tag in the poem for link break.

Test it Now

The output of above Html code is shown in the following screenshot:

What does br mean in html

Example 2: This example shows the code of how to use <br> tag in the code samples for a line break.

Test it Now

The output of above Html code is shown in the following screenshot:

What does br mean in html





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA