Week 6 Web Page Exercise

Chapter 7 Homework

  1. Read Chapter 7 and review XML and XHTML Strict
  2. If you are using Microsoft Windows XP, go to "start ->My Documents"
  3. Click on the following link Chapter 7 XML Exercise and download to your My Documents folder
  4. Right-click on the file or double-click on the file and unzip the downloaded file. A folder with the name "journal" will be created
  5. Double-click to open the folder.
  6. Convert the journal document to a XHTML strict document type
  7. Copy and paste this doctype at the top of your web page
    1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8. Make the appropriate changes to the <HTML> tag (page 274)
  9. Make changes to the journal.html Web page to make a valid page (change your empty tags)
  10. Validate your web page. You may use the W3C Validator or another of your choice
  11. Add a comment to your web page and include the following information (<!-- comment -->)
    1. Your name
    2. The name of the class (IN112 HTML)
    3. Did your Web page validate?
  12. Right-click on the "journal" folder and send-to a compressed file. Upload both of these exercises as your homework

Chapter 8 Homework Exercise

  1. Read Chapter 8 and review CSS styles
  2. If you are using Microsoft Windows XP, go to "start ->My Documents"
  3. Click on the following link Chapter 8 CSS Exercise and download to your My Documents folder
  4. Right-click on the file or double-click on the file and unzip the downloaded file. A folder with the name "lounge" will be created
  5. Double-click to open the folder. Double-click to open the beverages folder
  6. Make the following changes to the elixir Web page
    1. Add the <style> element to the Web page (page 291)
    2. To the body, add a background-color of tan, font-family of fantasy or sans-serif
    3. To the h1, add a color of brown, border-bottom of 2px, font-size of 200%
    4. To the second p element in the elixer page, add a class with the name = "margin" (page 317)
    5. Create a class style .margin and add margin-right of 20% and margin-left of 20%
  7. Right-click on the "lounge" folder and send-to a compressed file. Upload both of these exercises as your homework