<%@LANGUAGE="VBSCRIPT" %> <% Response.CacheControl = "no-cache" %>
COMMON MISTAKES TO AVOID IN XHTML
  1. Putting extra spaces between attributes and their values.
    CORRECT: align="center"
    INCORRECT: align = "center" -OR- align = " center "

  2. Closing attributes in closing tags.
    CORRECT: <h2 align="center">Name</h2>
    INCORRECT: <h2 align="center">Name</h2 align="center">

  3. Using XHTML code within <pre> tags.
    CORRECT: <pre> 1234 Grant Street </pre>
    INCORRECT: <pre>1234&nbsp;Grant Street </pre> -OR - <pre>1234 Grant Street<br /> </pre>

  4. Missing the semi-colon in the non breaking space code.
    CORRECT: &nbsp;
    INCORRECT: &nbsp

  5. Adding <b> tags within a <h1> (including h2, h3, etc.).
    CORRECT: <h1>Name</h1>
    INCORRECT: <h1><b>Name</b></h1>

  6. Not adding the <title> within the <head>.

  7. Using an incomplete or wrong doctype tag.

  8. Placing the doctype tag in the incorrect place.
    CORRECT:
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       <html>
       <head>
         <title> </title>
       </head>
       <body>
    INCORRECT:
       <html>
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       <head>
         <title> </title>
       </head>
       <body>

  9. Not closing the <html> or <body> tags at the end of the document.

  10. Not closing break tags correctly.
    CORRECT: <br />
    INCORRECT: <br> -OR- <br/> -OR- </br> -OR- <br></br>

  11. Not following the directions CAREFULLY.

  12. Forgetting to close ALL tags.

  13. Not using <li> tags within <ul> or <ol> tags.
    CORRECT:
       <ul>
         <li> First </li>
       <ul>
    INCORRECT:
       <ul>
         First
       <ul>

  14. Closing the <!DOCTYPE> tag at the end of the document.