Line Break | WebReference

Line Break

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Line Break

<br>

Description: Forces a single line break.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • clear*
  • id
  • style
  • title

* Deprecated

Code Example:

The line will end here<br>
and wrap to a new line.

XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <br />




Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/