[whatwg] <CENTER>, <MENU>, <DIR>, <NL>

Hi,

From: "Eugene T.S. Wong" <lists.eugenetswong@gmail.com>

><CENTER>Marketing Opportunity</CENTER>
[...]
>The example is overkill to demonstrate just 1 line of code, but I want to  
>strongly emphasize through demonstration that <CENTER> is used very  
>sparingly and only on specific locations. In this case, it is used as a  
>title.
>
>I refuse to use <H1> as a title, based on my own principles that there can  
>be only 1 title, just as there can be only 1 document root. There can be  
>multiple headings, but not mulitiple titles for each document.

There is a <title> element type for this purpose. Use the following CSS:

   head { display:block; text-align:center; }
   title { display:inline; }

If you use <center> (or <h1>, or <div>) you are still duplicating the 
<title>, no?

Regards,
Simon Pieters

Received on Tuesday, 17 January 2006 00:28:05 UTC