HTML <br> Element
The <br> or break tag inserts a single line break into a document.
Example:
Line breaks<br> force a carriage return<br>
and start<br> a new line.
Displays:
Line breaks
force a carriage return
and start
a new line.
The break tag is defined as an empty element because it doesn't contain anything for display. In XHTML empty elements must have a trailing slash /
and an extra space is added for backwards compatibility with HTML user agents - giving you <br />. In HTML it can be written as
<br>.
Other empty tags
<br> Attributes
- CORE ATTRIBUTES - class, id, title, style
- clear - specifies where the next line should appear after the
<br>element but is now Deprecated in favour of CSS styles.
HTML 4 Element List
<!--<comment>--><!DOCTYPE><a><abbr><acronym><address><applet><area><b><base><basefont><bdo><big><blockquote><body> <br><button><caption><center><cite><code><col><colgroup><dd><del><dfn><dir><div><dl><dt><em><fieldset><font><form><frame><frameset><head><h1> to <h6><hr><html><i><iframe><img><input><ins><isindex><kbd><label><legend><li><link><map><menu><meta><noframes><noscript><object><ol><optgroup><option><p><param><pre><q><s><samp><script><select><small><span><strike><strong><style><sub><sup><table><tbody><td><textarea><tfoot><th><thead><title><tr><tt><u><ul><var>
