Deprecated Tags and Attributes

What is a deprecated tag or attribute?

Deprecated tags and attributes that you will still find on the web

For the following, please refer to the example code on this page.

Framesets:

Assignment:

  • E10i - (6:29)

    The purpose of this assignment is to further acquaint you with some of the html tags and attributes covered above. They still work in most browsers but most are no longer recommended for use. You will find them on the web at small older sites where you may need to use them to make a quick fix.

    1. Create a folder named yourlastname_E10
    2. Create an html file named yourlastname_E10.html and put it into the folder you just made.
    3. Put a table into the file with two rows and two columns using <td> tags.
    4. Put your name in a cell followed by a break tag. Then add five sentences of Lorem ipsum text.
    5. Do this with all four cells.
    6. Use <center> tags to center the entire table (nest the table tags between opening and closing <center> tags).
    7. Insert into the table tag these attributes:
      • cellspacing=0 (note that some browsers put spacing and padding in if this value is not specified)
      • cellpadding=5
      • border=1
      • width=90%
    8. Set the alignment of the top right td tag to right alignment
    9. Right click on this link to download and save an image to be used as a background.
      • Save it in the same folder as your html file with its original name, bgGrad.jpg  
    10. Make that image the background of the table using the table tag and the following attribute and value in the table tag:
      • background=bgGrad.jpg
    11. Put a background color into the cell that is right aligned using this attribute and value:
      • bgcolor=lightyellow
      • It ought to take precedence over the table's bg image because it is more specific, closer in the code to where it is being applied.
    12. Then save this image in the same folder as your html file:
      Trevi Fountain in Rome
    13. Add a bottom row to your table with a single cell with the colspan=2 attribute and value.
    14. Add to the cell an image tag with these attributes:
      • src=trevi.jpg
      • vspace=20
      • hspace=15
      • border=1
      • align=right
      • width=450
      • height=336
    15. Underneath image tag, put in five paragraphs of Lorem ipsum text, each paragraph ought to have it's own opening and closing paragraph tags.
    16. Your table ought to appear something like this.
      • The image ought to go to the right side of the table cell.
      • The border attribute will give the image a nice, clean, thin, black border, as seen on the photo of Trevi Fountain above.
      • The text will flow to the left of the image and under it.
      • Check your work.
    17. Please zip the entire folder and send it to me.

    Now that you have sullied yourself in the shady underworld of deprecation, go wash your hands! ;-)