html5 Site Icon CSS3 Site Icon CSS Site Icon

HTML4 Reference

HTML <br /> tag

Definition

The <br /> tag forces a line break after it. The tag has no content and is self closing.

Example


<body>
  The content of the web page appears in the body section.<br />
</body>

Required Attributes

NONE

Optional Attributes

NONE

Common Attributes

class - specifies a classname for the element allowing you to apply the style of the predefined class to the content.


<br class="classname" />

id - specifies a unique id for the element allowing you to apply the style of the predefined id to the content.


<br id="idname" />

style - specifies an inline style for the element allowing you to apply the style to the content.


<br style="color:red;text-align:left" />

title - specifies extra information about the content.


<br title="information about the content" />

Language Attributes

NONE

Event Attributes

NONE



<body> tag    << Prev          Next >>  <button> tag

go to home page Homepage go to top of page Top