Jump to content

Xhtml Doctype


khalen
 Share

Recommended Posts

Hi all ... I have searched through the W3Schools forum and tutorials but can't seem to find the doctype that has just been developed by W3C aiming to provide minimal support for web clients that do not support the full set of XHTML features (such as PDA, pagers etc)Can anyone enlighten me as to where I could go to find this info?Cheers

Link to comment
Share on other sites

I believe the spec you're looking for is XHTML Basic. Its DTD is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">

(copied directly from the spec)BTW, you could also simply use the normal XHTML strict DTD - just avoid using the non-basic elements. Browser would render the content in the same fashion with either DTD on. Some desktop browsers might actually have a problem if you use this isntead of XHTML Strict.

Link to comment
Share on other sites

Excellent ... thanks for your time

I believe the spec you're looking for is XHTML Basic. Its DTD is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">

(copied directly from the spec)BTW, you could also simply use the normal XHTML strict DTD - just avoid using the non-basic elements. Browser would render the content in the same fashion with either DTD on. Some desktop browsers might actually have a problem if you use this isntead of XHTML Strict.

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...