|
Posted by howa on March 17, 2008, 2:40 pm
Please log in for more thread options
On 3$B7n(B18$BF|(B, $B>e8a(B12$B;~(B59$BJ,(B, Andy Dingley
>
> > Is it true that if my XHTML is conforming to the w3c XHTML DTD, my
> > XHTML is validated and no need to run the HTML validation hosted on
> > w3c web page?
>
> Yes, but be careful.
>
> NB - This only applies for XHTML 1.0, not 1.1 or 2.0
>
> XHTML 1.0 isn't usable on the web, because IE won't work with it. To
> get round this you cheat, by using the Appendix C hack. You write
> XHTML, but you tell IE that it's really HTML. Because browsers have to
> cope with all sorts of rubbish, IE is pretty happy to process this
> XHTML document as if it were HTML. However it's still processing it
> _as_ HTML, so it's possible that you may have coded something that's
> conformant XHTML but not conformant HTML.
>
Thanks all, what I want is to use a XML validator to verify the
document...automatically if I got the DTD and XML.
From the point of view of all you guy said XHTML is not that `good` as
expected, yes I am aware of. (at least in my case, I can validate
xhtml automatically and easily)
Thanks.
|