Make your own free website on Tripod.com

The following CSS STYLE declaration puts a border around every <H1> element (yes, that standard <H1> tag you all know) in the HTML document and centers it on the page.


< HEAD> <STYLE type="text/css"> H1 {border-width: 1; border: solid; text-align: center} </STYLE> </HEAD> <BODY> . . . <H1>Bordered and Centered H1</H1> </BODY>


Bordered and Centered H1