Steps:
1. YUI places some scripting at the bottom of the document, which is for their use, not our use. This scripting should be deleted. You may have done this already. It's the stuff at the bottom of the document that looks like this:
<!-- spaceId: 792404142 --> <!-- VER-355 --> <script language="javascript"> ....
2. Replace the DOCTYPE and <html> statements with the following:
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3. Use only lower-case HTML tags, e.g., "<h1>" not "<H1>" and lower-case attribute names, e.g., "id=my_head" and not "id=My_Head".
4. Explicitly close all the empty tags so they take the form of <img ... /> and <link ... /> and <br /> and so on.
5. Check that your document is valid XHTML by submitting it to the W3C XHTML validator at http://validator.w3.org/ My page failed the first time because the <link> tag, supplied by YUI, was still an empty tag that needed to be closed.
When you've transformed your document to valid XHTML, add this code at the bottom of the my_main div:
<p>
<img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" />
</p>
Link your two valid XHTML pages to your page of course deliverables.