SPS Home > Dgreath > HTML & XHTML Doctypes |
HTML & XHTML DOCTYPES |
HTML 4.01 Strict<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
HTML 4.01 Transitional<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
HTML 4.01 Frameset<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" |
XHTML 1.0 Strict<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
XHTML 1.0 Transitional<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
XHTML 1.0 Frameset<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" |
XHTML 1.1 DTD<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
Note: Valid XHTML documents must have a doctype declared as the first element. Doctypes must be specified exactly as shown above. Strict doctypes prohibit deprecated elements or properties and depend on cascading style sheets for most formatting. Transitional doctypes allow the use of some deprecated elements and properties. Frameset doctypes are used exclusively for frame pages. |