Lab Assignment

Be sure to include your name and the name of this lab when it is submitted, via email, to the instructor's email address. Acceptable formats are text files, html files and pdf's. Do not send work or open office documents.
Total assignment value: 25 points
  1. (5 points) You've been tasked with helping the web development group convert their pages to CSS. Write a script that will make the following changes in the file sample1.html: Change the <h2> through h4 tags to be <div class='heading2'> through <div class='heading4'>. Be sure to alter the closing heading tags to </div> tags.
  2. (5 points) Insert the following tags in the head of the document:
     <link rel="stylesheet" type="text/css" href="http://ccis2161.linux-classes.com/class_format.css" />
     
     <meta http-equiv="content-type" content="text/html;charset=utf-8" />
     
     <meta http-equiv="Content-Style-Type" content="text/css" />
     
  3. (5 points) Insert the following tags at the beginning of the document
  4.  <?xml version="1.0" encoding="utf-8"?>
     
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     
     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     
  5. (5 points) Ensure that the processed file matches XHTML 1.1 standards according to the website at http://validator.w3.org/ . If necessary, alter the specifications above so that it is fully compliant.
  6. (5 points) Alter the unordered list to be an ordered list, and to use roman numerals instead of standard numbers.