HTML:Element:br
From MDC
[edit] Summary
Line break element produces a line break in text (carriage-return). It is an empty element, so it can't have any content and it can't have a closing tag (</br>). It is useful for writing a poem or address, where it is important to write everything on a new line. In XHTML documents, write this tag as <br />.
- Allowed content: none
[edit] Example
Mozilla Foundation<br> 1981 Landings Drive<br> Building K<br> Mountain View, CA 94043-0801<br> USA
Above HTML will output:
Mozilla Foundation
1981 Landings Drive
Building K
Mountain View, CA 94043-0801
USA
[edit] Notes
Do not use <br> to increase gap between text, use CSS margin property or paragraphs (<p>)
[edit] See also
| HTML Elements |
| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
| (Quick Links: HTML Element Cross Reference, HTML Category) |