Tuesday, November 07, 2006

Common HTML Tags that should not be used

The following is a shortlist of commonly used tags that should not be used. Most of these tags can be replaced with CSS.

<b>...</b> Bold tag Video
<i> ... </i> Italic tag
<font> ... </font> Font tag
<center> ... </center>
<applet> ... </applet> Used to insert Java applets - mini programs written in Java. Today you should use the <object> tag. Java applets are just a pain in the neck anyway because of Java runtime compatibility issues ... use Flash MX instead.
<u> ... </u> Underlined text
<frameset> <frame src="..." /> </frameset> comments: framesets were largely used to format pages due to the limitations of HTML - limitations that no longer exist. Use CSS and iframes and forget about frames!

No comments: