|
Posted by Andy Dingley on 10/06/05 11:59
jojo wrote:
> A XHTML document should look like this:
>
> <?xml version="1.0" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
What's an "XHTML document" ? If you mean a local XML document, then
why not use XHTML 1.1 ? If you mean a web-published document then for
certain you need to lose that XML declaration:
<?xml version="1.0" ?>
as it breaks far too many web user agents.
> <html xmlns="http://www.w3.org/1999/xhtml">
If you're going to pontificate, make sure you're infallible.
Where are the lang and xml:lang attributes ?
Navigation:
[Reply to this message]
|