The document provides instructions for a lab exercise involving creating basic HTML documents. The exercises include: 1) Creating an HTML 4.01 document with name, address and phone number and validating it, 2) Modifying the document to conform with XHTML and validating, 3) Adding <head> elements, 4) Converting the document to HTML5 and testing in browsers, 5) Adding a comment with name, date and email.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
73 views
Chapter 1 Lab
The document provides instructions for a lab exercise involving creating basic HTML documents. The exercises include: 1) Creating an HTML 4.01 document with name, address and phone number and validating it, 2) Modifying the document to conform with XHTML and validating, 3) Adding <head> elements, 4) Converting the document to HTML5 and testing in browsers, 5) Adding a comment with name, date and email.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
HTML and CSS (with HTML 5)!
Chapter 1 Lab Exercises
1) Create an HTML 4.01 basic document structure that displays your name, address and phone number in separate <p> (paragraph tags). Point your browser at http://validator.w3.org/#validate_by_input. Copy your code in to the large test area and validate it against the 4.01 HTML standard. Note any errors. If necessary correct you code and validate it again until it is free of errors. 2) Modify the document created in the first step of the lab do it conforms with the XHTML standard. Go back to the HTML validator page and again validate your code. (Dont forget to click the More Options tab and validate against the XHTML standard. Again note any errors. Correct them and validate again insuring your code is correct. 3) Add the head elements to your document mentioned in lecture 11. Insure they are correct and formed correctly. 4) Convert your document to an HTML5 document and attempt to display it in at least two different browsers. Note any difference that you see between the way the browsers render the content in your HTML document. 5) Add a comment using the comment style demonstrated in the video lecture. The comment should include your name, the date the page was created and your email address.