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

About uzzal

Software developer
This entry was posted in optimization, SEO, web design and tagged . Bookmark the permalink.

18 Responses to Forbidden (deprecated) HTML tags and attributes

  1. Rayhan says:

    I am loving your blog! Keep it up!

  2. Pingback: Fobidden (deprecated) HTML tags and attributes « invincible | My Web Development Bookmarks

  3. samiuljahan says:

    Fobidden or ‘Forbidden’?🙂

  4. mm says:

    “WIDTH” for <TABLE> was forgotten!

  5. Paul says:

    I’m curious: if align is deprecated for and so is , how does one center an element? applies only to text, and float only has left, right, none, or inherit commands. There is no approved CSS for centering an element that I am aware of … ? Is the only approved method to wrap the element in a block element that responds to text-align? Some browsers still won’t accept a text-align for a element like a table or image, wrapped in a block element or not.

  6. Pingback: Technology’s Grasp « Sura's Blog

  7. Pingback: 10 Common HTML Mistakes to Avoid | Tips and Tricks

  8. Pingback: The Cellar Room | Blog » Blog Archive » Common HTML mistakes you should avoid

  9. Pingback: Common HTML Mistakes | royaltemplate.com

  10. Pingback: 10 Common HTML Mistakes to Avoid

  11. Pingback: El atributo WIDTH. « ERAvila

  12. Charmain says:

    U generated a handful of wonderful tips with your
    post, “Forbidden (deprecated) HTML tags and attributes | invincible” Patio Door Blinds .

    I will be coming back to ur web page in the near future.

    Many thanks -Glory

  13. These are different from ther diet pills, as they help in strengthening your metabolism
    and thus, enhance energy level of your body.
    that boosts the metabolism of the boidy and burns the ffat for
    a rapid pace. Mama June said her slim-down has inspired
    her daughters, Anna,19, Jessica, 17, Lauryn ‘Pumpkin,’ 14, and Alana (Honey Booo Boo), eight, to lose weight.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s