Deprecated Tags (part 1)

Thursday, March 11, 2010

From a past post, a couple comments led to me thinking this would be helpful, so here it is. This is a list of tags that were once used, but are now deprecated. Deprecated tags are tags that are no longer used and may someday be not functional. You could use them, as they do work, but it's best to revert to the new version which often offers more customization. I'm splitting this into 2 posts because of the amount of time it took to type up. I will finish the other part later when I find time. This list isn't complete, but it contains the most common tags that are deprecated.


<i>

This tag was used to give text a slanted look. "i" is short for italicize as most people know how it looks like. The alternative to this is now <em>. "em" stands for emphasized text. It is used the same way the 'i' tag has been used (and still used on applications like Myspace).

<u> and <strike>

These tags was used for decorating text with lines, and though underlining it still works, it is not recommended, even if you use the alternative. People generally refer to underlined text as links and could cause the person you are trying to get to read it some strain. The alternative to the 'u' tag is using Cascading Style Sheets. It takes a bit more time to type but offers more benefits. Using css, and the text "text-decoration:underline", one can achieve the same effects. The text-decoration can do four different techniques:

text-decoration:overline
text-decoration:line-through
text-decoration:underline
text-decoration:blink

<b>

Also known as the bold tag, this was used to .... well ... make text bold. The alternative is the <strong> tag, but this can also be achieved using css. Using css, it can do more than just make something bold. CSS allows you to specify a number for the boldness, 400 being normal, 700 being regular bold. Though using any of the numbers, and varieties, I have not noticed anything different so it could be browser specific.

1 comments:

Karen said...

This is useful information. Everytime I need to change one of the websites I have I have to look up these tags. Since this posting I am going to get an updated list so I can be current. Thanks for the heads up, cause I don't pay enough attention to new things.

Post a Comment