Create a website RSS feed

Line Break

Line Break

Last update on: 05-18-2008
The br tag breaks a line of text at the point where it appears. When a web browser encounters a br tag, it restarts the text after the tag at the left margin.
Like the <hr> tag, the <br> tag has no closing tag in HTML. To convert this tag to XHTML and to ensure compatibility with HTML browsers, add a space and forward slash to the end of the tag and its attributes, as shown in the following example:



Formatting Text's lessons:

Character-Level Elements
Formatting Using CSS
Preformatted Text
Horizontal Rules
Line Break
Addresses
Quotations
Text Alignment
Fonts And Its Attributes
Special Characters

Banner HomeServices Contact |  ©2009 http://www.iteachweb.net/