|
Posted by Knut Krueger on 05/28/07 07:33
Jukka K. Korpela schrieb:
> Scripsit Knut Krueger:
>
>> but isn`t the wc3 validation better in XHTML
>
> No it isn't. And why would you validate against a syntax definition that
> you should not use?
>
> Contrary to popular superstition, XHTML DTDs as a whole aren't
> "stricter" than HTML 4.01 DTDs. XHTML DTDs disallow end tag omission,
> and you may call this "stricter". But since the metalanguage is weaker
> (XML vs. SGML), the XHTML DTDs allow many constructs that are forbidden
> in HTML - both in HTML 4.01 and XHTML, though only HTML 4.01 can make
> the rule part of the DTD. (You can write a modified HTML DTD that makes
> all end tags compulsory if you like. Or I can do that for you.)
>
>> means <p><b> test </p></b>
>> is marked as wrong in XHTML but not in HTML4.01?
>
> Did you actually test that? No, you didn't.
No I did not, I read it on a page, discussing the differences between
xhtml and html 4.01 -
seem th obe the wrong page :-(
by the way ... I usesd the XHTML the first time - and I belve you and
will go back to the 4.01 definition.
Thank you for your help
Knut
[Back to original message]
|