[whatwg] <CENTER>, <MENU>, <DIR>, <NL>
Simon Pieters
zcorpan at hotmail.com
Tue Jan 17 00:28:05 PST 2006
Hi,
From: "Eugene T.S. Wong" <lists.eugenetswong at 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
More information about the whatwg
mailing list