Web Development
DART 230


Jan. 27

February 1

Feb. 3

  • XHTML-2 site of the day from:

Today’s topic is more XHTML and a chance to work on your handcoded pages.
  • Continue with the hand-coded Web pages, being careful of spelling, noting all the required elements. E-mail me the files—ZIP is fine. No need to put it up on the Web.
    Check out these primers if you still need help:
    Things to note/review about XHTML:
    1. All closing tags e.g. <body> are closed with the tag plus a forward slash: </body>
    2. Never include attributes in the closing tag: it is </a> not </a href>
    3. Text inside the <title> </title> cannot be formatted
    4. If you use more than one attribute within a given tag you can close them all with one ending tag if that suits your design intent: <div id="fred" title="fred">Hello</div>
    5. It had become “tradition” to leave off some closing tags that strictly (XHTML) speaking should be there. Among those are </p>, </li>
    6. Similarly, it had become habit to leave off the ditto ("quotation marks") around values of an attribute. That will not cause problems if the value is a single word such as color=red or a number such as size=4. You must use " " for alt text, src= href= and any value that has more than one word/number. So to be XHTML-compliant, use them at all times, e.g.
      <hr size="3" noshade="noshade" />


  • Let me know if you still are having trouble with logins to the alpha server.
Your assignment is to follow class instructions to create two pages using TextEdit as described on the handcoded assignment.

For CSS-only coding, look at the tutorial from the Academic Technology Network at UNC .


Home | Assignments | Resources | Syllabus | Weekly

Web Development

    Site maintained by John Beatty