Week 6 Web Page Exercise
Chapter 7 Homework
- Read Chapter 7 and review XML and XHTML Strict
- If you are using Microsoft Windows XP, go to "start ->My Documents"
- Click on the following link Chapter 7 XML Exercise and download to your My Documents folder
- 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
- Double-click to open the folder.
- Convert the journal document to a XHTML strict document type
- Copy and paste this doctype at the top of your web page
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- Make the appropriate changes to the <HTML> tag (page 274)
- Make changes to the journal.html Web page to make a valid page (change your empty tags)
- Validate your web page. You may use the W3C Validator or another of your choice
- Add a comment to your web page and include the following information (<!-- comment -->)
- Your name
- The name of the class (IN112 HTML)
- Did your Web page validate?
- Right-click on the "journal" folder and send-to a compressed file. Upload
both of these exercises as your homework
Chapter 8 Homework Exercise
- Read Chapter 8 and review CSS styles
- If you are using Microsoft Windows XP, go to "start ->My Documents"
- Click on the following link Chapter 8 CSS Exercise and download to your My Documents folder
- 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
- Double-click to open the folder. Double-click to open the beverages folder
- Make the following changes to the elixir Web page
- Add the <style> element to the Web page (page 291)
- To the body, add a background-color of tan, font-family of fantasy or sans-serif
- To the h1, add a color of brown, border-bottom of 2px, font-size of 200%
- To the second p element in the elixer page, add a class with the name = "margin" (page 317)
- Create a class style .margin and add margin-right of 20% and margin-left of 20%
- Right-click on the "lounge" folder and send-to a compressed file. Upload
both of these exercises as your homework