XHTML DOCTYPE
Here's the DOCTYPE definition you'll need for your second Web site. Note that it will eliminate most of those warnings you got from the W3 Validator on the first project; though it will also expose your code to tougher scrutiny on other issues.
Note further that you will need to make TWO changes to your standard Web page template. The first is to substitute the following for the DOCTYPE element:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Second, you need to add an attribute to your opening HTML tag, which should now read:
<HTML XMLNS="http://www.w3.org/1999/xhtml">
See page 57 of Perkins for discussion of these changes.
|
|