Corrections to Chapter 2
The final specification for XHTML 1.0 made some small changes to the formal URLs to use in the DOCTYPE declarations for XHTML. The new values (with the new/added text highlighted in red) are:
- "Strict" XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
- "Transitional" XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
- "Frameset" XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" >
These DOCTYPE declarations are corrected in these
online examples. Note that the namespace
value declared in the html element is unchanged, so that the
html start tag for XHTML 1.0 documents is still written as:
<html xmlns="http://www.w3.org/TR/xhtml1">
.