beatty@lasalle.edu

Home
Assignments
Resources
Syllabus
Weekly



Web Design and Development
DART/ENG 230

TR 11:00 - 12:15 (S 21); H-167


Jan. 25

January 30

Feb. 1

Today’s topic is more HTML and a chance to work on your handcoded pages. For HTML5, look back at HTML & CSS Chapter 8 (p. 179-180) and Chapter 17. It is also introduced throughout the first nine chapters. This post at net tutorials is a good place for an overview. Maybe for later, here is HTML5 Rocks from Google.

  • 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:
    • Among many others, the HTMLDog is a good place to start.
    Things to note/review about (X)HTML:
    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 use them at all times, e.g.
      <hr size="3">

    Again, for HTML5, you can decide to not close your tags of either type (empty or non-empty), use uppercase letters in tags, not quote values of attributes. I would not—there's no good reason not to stick to proper XHTML. As Tantek Çelik says, if you wanted to connect to other languages (e.g. AJAX) you'd need valid XHTML code. The current compromise is to use XHTML standards except we don't need to close empty tags (<br> is OK) or add redundant values to attributes (<input checked> is OK.)


  • 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.

Web Development Site maintained by John Beatty