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

22 thoughts on “Forbidden (deprecated) HTML tags and attributes

  1. 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.

      1. Thank you! Somewhat unintuitive, but I’m interested in what works rather than whether it makes perfect sense. Very much appreciated.

  2. 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

  3. 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: Logo

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

Google photo

You are commenting using your Google 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 )

Connecting to %s