25 August 2021

Nagging Reminder TURN IN convert.txt!!! I am going to make your grade look crummy by putting a 0 in it. Once I get at least half of the first.html assignments, I will start grading them. It's due next Wed.

Reading Read up to and including "the document tree" in wd0.pdf. Monday's quiz will feature reading questions. Since Monday is Friday, your quiz will actually be on Tuesday. 😃 I will tell you where the reading ends on Thurs.

Grammar Hammer Time

hammer time!

You need to know the rules of HTML grammar. Proper grammar makes your page render as you intended it to. Improper grammar slows page loading and can lead to mysterious problems when using CSS and JS.

Parts of Speech

There are three types of tags.

Rules of Syntax Tags must close in the reverse order that they open.

This violates the rules.

<p><a href="www.foo.com">foo</p></a>

Inspecting Elements

Using the Validator

Copy your first.html to firstCorrected.html. Use the validator to make your page well-formed.

All of your HTML pages should validate.

The Document Tree and Elements