Jump to content

Xhtml Doctype


khalen

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...