On 5/25/07, David Dorward <[EMAIL PROTECTED]> wrote:
On 25 May 2007, at 11:54, Alastair Campbell wrote:
> Wordpress will, however, you might have to dig around to prevent it
> putting in closing slashes on head elements. (Closing slashes on
> content items such as images are fine, they are within the body and do
> not cause validation issues.)

Not causing validation issues does not make them "fine"; even if the
vast majority of user agents don't respect it, <img /> in an HTML
document means "An image element followed by a greater than sign".
The HTML specification explicitly advises authors to avoid them:
http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7

Getting Wordpress to use HTML 4.01 as opposed to XHTML is something I
do all the time, and it's not hard at all. Read my article:
http://www.christianmontoya.com/2006/02/13/serve-your-weblog-as-html-401/

Wordpress can be pretty good about using semantic HTML (it encourages
< em> and < strong> at the least) and there are some plugins out there
that add microformats support if you are interested in that.

--
--
Christian Montoya
christianmontoya.net .. designtocss.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to