Jump to content

Is the valid DTD elements listed by w3schools for the XHTML 1.1 correct?


kshin98
 Share

Recommended Posts

According to the "HTML Elements and Valid Doctypes" page at "http://www.w3schools...ef_html_dtd.asp", the tags like 'thead', 'tbody', 'col', 'del', 'ins' are invalid for XHTML 1.1. But when I checked with the official DTD at "http://www.w3.org/TR...DTD/xhtml11.dtd", they all look properly included and valid elements for the xhtml1.1. I know that there are two versions of table modules supported by XHTML1.1 specification: one with 'thead', 'tbody', 'col' and another one without them(whick is called "Basic Table Module" if anyone cares). But I think the official DTD uses the one with those tags, not the one without them. The edit module which includes 'del' and 'ins' elements seems to be include at the official DTD as well. (I think there are several more tags with the mis-matching validity like above, but I am too lazy to list them all) It's very confusing :(

Edited by kshin98
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...