Home > SEO, optimization, web design > Forbidden (deprecated) HTML tags and attributes

Forbidden (deprecated) HTML tags and attributes

There are some older html tags and attributes which has declared deprecated or forbidden by W3C consortium, though all modern browsers still support them but in future they may not. So it is best to know about those deprecated tags and attributes, and best practice is avoid them in your code.

Here is the list of deprecated tags:

<applet>, <basefont>, <center>, <dir>, <embed>, <font>, <isindex>, <menu>,
<noembed>, <s>, <strike>, <u>

Here is the list of deprecated attributes:

align for these tags:  <caption>, <iframe>, <img>, <input>, <legend>, <object>, <table>,
<hr>, <div>, <h1..6>, <p>
alink for this tag: <body>
background for this tag: <body>
bgcolor for these tags: <body>, <table>, <th>, <tr>, <td>
clear for this tag: <br>
compact for these tags: <ol>, <ul>
border for these tags: <img>, <object>
link for this tag: <body>
noshade for this tag: <hr>
nowrap for these tags: <td>, <th>
size for these tags: <basefont>, <font>, <hr>
start for this tag: <ol>
text for this tag: <body>
type for this tag: <li>
value for this tag: <li>
vlink for this tag: <body>
width for these tags: <hr>, <pre>, <td>, <th>
vspace for these tags: <img>, <object>

For more information you can visit here and here

Categories: SEO, optimization, web design Tags:
  1. October 8, 2009 at 7:40 PM | #1

    I am loving your blog! Keep it up!

  2. October 11, 2009 at 4:11 PM | #3

    Fobidden or ‘Forbidden’? :)

  3. mm
    October 12, 2009 at 12:05 PM | #5

    “WIDTH” for <TABLE> was forgotten!

    • October 12, 2009 at 12:14 PM | #6

      WIDTH for TABLE tag is not deprecated.

  1. October 10, 2009 at 10:28 PM | #1