bannermuseum

Over the years, web page development has evolved and expanded. As HTML has evolved, some elements are now outdated. These are called deprecated elements or attributes. Most browsers can still display these deprecated commands. However, obsolete elements and attributes may no longer work in some browsers. Whenever possible, avoid deprecated tags in your work.

Here is a partial list of deprecated tags: basefont, center, font, s, strike, and u.

Here are some commonly used deprecated tags. Most of these have alternatives using styles.

Deprecated Version

<p align="center"> <font face="Arial" size="2" color="green"> Hello </font> </p>

Conveyed with Style Sheet

p {
font-family: Arial; font-size=100%; color: green; text-align: center;
}


| eduscapes | IUPUI Online Courses | Teacher Tap | 42explore | escrapbooking | About Us | Contact Us | ©2006 Annette Lamb