1 <HTML> 2 <HEAD> 3 <TITLE>HTML Example: Alignment</TITLE> 4 </HEAD> 5 <BODY BGCOLOR="#FFFFFF"> 6 7 <H1>Alignment</H1> 8 9 The most useful alignment tool is the <CENTER> tag. With it, 10 you can do things like: <P> 11 12 <CENTER> 13 CGR 500 <BR> 14 Designing for the WWW <BR> 15 (Section 1) 16 </CENTER> 17 <P> 18 19 Some tags have an alignment attribute. Headings, for example, which 20 are left justified by default, may be centered (or right-aligned) as 21 in the following example: 22 23 <H2 ALIGN=CENTER>A Centered Heading</H2> 24 25 Besides headings, other tags that support an alignment attribute 26 include: <P>, <HR>, <DIV>, <TR>, <TD>, 27 <TH>, and <APPLET>. 28 29 <P><HR> 30 31 </BODY> 32 </HTML>