<br> tag adds a line break to the content.
This tag has no closing tag and has no content.
<br> tag is used to format text and create divisions on a page.
<br /> tag is placed after each line in Cézanne's studio address.
<address> Address of Paul Cézanne Studio:<br /> <br /> 950 Chemin des Lauves,<br /> 13100 Aix-en-Provence,<br /> France </address>
In case you're curious, this is Cézanne's actual studio.
The large narrow door on the right allowed very large paintings to leave the studio.
A paragraph with
<br /> tags after each line.
This is a famous poem, 'No man is an island' by Jon Donne.
No man is an island,
Entire of itself,
Every man is a piece of the continent,
A part of the main.
If a clod be washed away by the sea,
Europe is the less.
As well as if a promontory were.
As well as if a manor of thy friend’s
Or of thine own were:
Any man’s death diminishes me,
Because I am involved in mankind,
And therefore never send to know for whom the bell tolls;
It tolls for thee.
<p> No man is an island,<br /> Entire of itself,<br /> Every man is a piece of the continent,<br /> A part of the main.<br /> If a clod be washed away by the sea,<br /> Europe is the less.<br /> As well as if a promontory were.<br /> As well as if a manor of thy friend’s<br /> Or of thine own were:<br /> Any man’s death diminishes me,<br /> Because I am involved in mankind,<br /> And therefore never send to know for whom the bell tolls;<br /> It tolls for thee. </p>
<br> tag has no attributes, but it does support global attributes.
Attributes are rarely, if ever, used on
Do not use the attribute listed below. It's no longer valid on the
<br> tag in HTML5.
||Specifies where the next line begins after the break.||n/a|
<br /> formats are correct.
<br> is self-closing no additional elements can be placed inside it.
<br /> tag (with
/) was introduced for XHTML compatibility on self-closing tags.
<br> tag is part of a group of tags
that are used to create and format text documents.
This group is referred to as the Text tag group.
Together, they allow you to create comprehensive HTML text documents.
Here is a list of text tags.
|<h1>-<h6>||Defines text headings in 6 different sizes|
|<p>||Creates a paragraph|
|<span>||Container for one or more inline text elements|
|<br>||Creates a line break|
|<sup>||Specifies superscript text|
|<sub>||Specifies subscripted text|
|<u>||Specifies underlined text|
|<i>||Specifies italic text|
|<b>||Specifies bold text|
|<em>||Marks text that needs emphasis|
|<strong>||Indicates text that is important or with high urgency|
|<del>||Defines deleted text|
|<ins>||Defines inserted text|
|<ruby>||Represents a small annotation with pronunciation of text|
|<kbd>||Specifies keyboard input, such as, CTRL or ALT|
|<wbr>||Specifies a preferred word-break location for long words|
Here is when
<br> support started for each browser: