Homework 3
Objective:
- This homework gives you practice with creating data tables, inserting images, specifying colors, and applying comments, special characters, and meta data to a document.
Specifications:
- Create a page using the XHTML 1.0 Transitional doctype and name the file hw3.html
- On this page put two tables. For one of the tables, use fixed pixel sizes. For the other table, use percentages for the sizes.
- Populate each table with content of interest to you - favorite movies, CDs, or books, perhaps the contents of your video, CD, or book collections. The choice is up to you (as long as it is appropriate for a school assignment)!
- Have at least 5 rows in each table, with at least four cells per row. If you were listing favorite cds, one cell could be the artist's name, the second cell could be the title of the album, the third could be the genre, and the fourth cell could contain the year the CD was released.
- Use header cells and data cells appropriately.
- Use table and cell attributes as desired.
- Put your name, the date, and the homework number in a comment tag in the code.
- Include at least three special characters in the page content.
- Locate at least one public domain graphic pertinent to your page content and include that in the page. Include the src, height, width, and alt attributes. Alt text should be appropriate.
- Include at least two different colors as part of your file. Use both a color code and a color name.
- Also include meta tags for keywords and description (with good content for both) and instruct spiders to not index the page and not follow links on the page.
- Write efficient code. Also structure your code properly. Use tags appropriately, based on their content.
- Your XHTML code should be valid XHTML 1.0 Transitional (no errors or warnings).
- Be sure to follow proper style in your coding. Also be sure to provide an appropriate <title> </title> value.
- Make a table on your class page. Its 2 columns will be for the homework assignments and the lab assignments. Use 'th' for these column headings. The other cells in the table will contain links to each of the homework and lab assignments that you have uploaded to your web site. Make sure the links to homework 2 and 3 work correctly.
- Finally, include a link back to your class page in your hw3.htm file.
Submitting Your Work:
- Upload your homework file to your 'homeworks' folder on the student server.
- Print out your code in landscape mode
Due:
- Start of class Monday, July 2.