Setting Document Defaults & Creating a Wrapper

Zero-out the page

Also set other body tag properties

Creating a wrapper or container div

Assignment:

    1. Create a new html5 file.
    2. Name it yourlastname_K10.html
    3. Define your css in the head of the html file.
    4. Using the body tag:
      1. Zero the page out.
      2. Set the document's default font to Times New Roman with a line height of 1.2em
        • Tip: think about the name of the font - it has multiple words - does it need anything else when you put it into the code?
      3. Set the default text color to #220
      4. Word spacing of .25 em
      5. Line height of 1.2 em
      6. Set the background color to #DA3
    5. Create a div:
      1. Give it the id of "container"
      2. Put two paragraphs of Lorem Ipsum text in it.
      3. Make it 50 ems wide.
      4. Margins
        1. Top: 5 em
        2. Bottom: 2 em
        3. Center the div on the page.
      5. Background color of #FFD
      6. Padding:
        1. Top and bottom: 1em
        2. Left and right: 2 em