You are here: Reference > HTML > tags > br

br element

Browser support:
Inserts a line break.
The br tag is used to insert a line break into text.
If you want to see the HTML tags by categories, please visit this page.
This element cannot have a closing tag.
JavaScript page for this element: br.

Possible members:

Attributes
Events
Styles
accessKey
Sets an access key to an element.
class
Sets the style class or classes that belong to the element.
clear
Specifies the position of the element in relation to floating objects.
draggable
3.55
Sets whether an element is draggable.
id
Sets a unique identifier for the object.
name
Sets the name of an element.
style
Sets an inline style associated with an element.
tabIndex
Specifies the tabbing order for keyboard navigation using the TAB key.

Example HTML code 1:

This example illustrates the use of the br element:
Text without a line break
Text with a <br /> line break
Did you find this example helpful? yes no

External links:

User Contributed Comments

Post Content

Post Content