/

HTML / CSS / JavaScript Tutorial

HTML Element: <br>

[this page | pdf | back links]

The HTML <br> element indicates a single line break (c.f. a carriage return). In XHTML, it needs to be ‘properly’ closed as per <br />.

 

The attributes it can take are HTML global attributes and HTML event attributes.

 

To create or access such an element in JavaScript see here. The corresponding HTML DOM object supports standard DOM properties and methods. The default style applicable to this element is shown here.

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Elements


Desktop view | Switch to Mobile