December 1999
Intermediate to advanced
992 pages
22h 3m
English
Creating XHTML documents isn't really any different than creating HTML documents. You just have to remember the differences between XHTML and HTML, which were mentioned earlier in the chapter. Listing 18.1 contains the code for a skeletal XHTML document.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1/strict">
<head>
<title>Skeletal XHTML Document</title>
</head>
<body>
<p>
This is a skeletal XHTML document.
</p>
</body>
</html>
|
Although this skeletal Web document doesn't do a whole lot, it does follow all the rules of a valid XHTML document, which makes it a good ...
Read now
Unlock full access