Adding dividers to HTML documents

Use the following tags to add breaks to your Web pages.

 

Paragraph <P></P> (closing tag often unnecessary)

Align Text <P ALIGN=LEFT|CENTER|RIGHT></P>

 

Line Break <BR> (a single carriage return)

Clear Text Wrap <BR CLEAR=LEFT|RIGHT|ALL>

 

Horizontal Rule <HR>

Alignment <HR ALIGN=LEFT|RIGHT|CENTER>

Thickness <HR SIZE=?> (in pixels)

Width <HR WIDTH=?> (in pixels)

Width Percent <HR WIDTH="%"> (as a percentage of page width)

Solid Line <HR NOSHADE> (without the 3D cutout look)

 

N1.0 No Break <NOBR></NOBR> (prevents line breaks)

N1.0 Word Break <WBR> (where to break a line if needed)

 

Related topics

Adding links and graphics to HTML documents

HTML tags

Creating lists in HTML documents