[thelist] [css-d] Standrards Compliance -fine-tuning

Lee Kowalkowski lee.kowalkowski at googlemail.com
Thu Oct 9 04:05:21 CDT 2008


Excellent points by Benjamin.

On 09/10/2008, Benjamin Hawkes-Lewis <bhawkeslewis at googlemail.com> wrote:
> neal at constructweb.com wrote:
> * Indicate language with lang="en" on "html":

In XHTML you should also have xml:lang.

> * Move <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />

Yep.  I would also favour UTF-8 over ISO-8859-1.

> * If this page is meant to attract search traffic, link text beginning
> with "Back to" seems odd (non-optimal for users and SEO).

Also, these links ought to be in a list (UL).  Something to do with
screen readers and adjacent links.  You can style the UL to suit the
design.

Also... Serving XHTML as text/html means you should follow the
additional guidelines in appendix C of the XHTML specification.  The
trouble with this is your XHTML validator probably doesn't check for
this (validator.w3.org and www.totalvalidator.com don't).  So
validating HTML Compatible XHTML is not as trivial as you might
expect.

http://www.w3.org/TR/xhtml-media-types/

-- 
Lee



More information about the thelist mailing list