Unit 6: validating your HTML
The process of validating the HTML markup (the tags) on your web page is similar to that of checking your essay for grammar, spelling, and punctuation errors, not really paying attention to the quality of the text itself.
- Read this page that explains what it means to validate your HTML markup in more detail.
- You can validate an HTML page to see if it's up to par with the HTML 5 specification here.
- Create an HTML page titled "My Winter Break". This will be both the title and the heading of the page.
- Write two paragraphs about how you spent your break; remember to use the
<p>
tag for paragraphs. - Create a horizontal line underneath this.
- Create a table with its caption saying "Things I did over the holidays". This table will have two columns - the headers will be "Activity/event" and "comments". Fill out the table with appropriate information
- Find an SVG picture of anything related to your winter break and embed it on the page.
- Find an image of a place you visited or stayed at or an activity you did over the holidays and embed it on the page below the SVG picture. What image type is it? Is it a suitable image type for this type of graphic? {Write your answer next to the picture}.
- Put your name and class at the bottom of the page.
- Check your page to make sure it is HTML compliant {use the online HTML validator mentioned above) and fix all the errors (don't worry about the warnings or the CSS-related errors). See the report for my page from Unit 5, task 6 below — the only error it shows is that my
<img>
tags are missing the alt
attribute - see Unit 3 for details on the alt attribute. - Take a screenshot of the validator output once you have corrected all the errors and submit it together with the HTML file through Teams.