Thursday, February 28, 2013

Not Supported in HTML5 - Should I Stop Using It?

As I work on my HTML tutorial, I can't help but notice the amount of deprecated HTML attributes (and even a few elements). And the non-support was introduced in HTML5, which isn't a complete standard yet.

A lot has been taken out. Alignment attributes. Border attributes. Other useful attributes. Look it up, you'll see what I mean.

So you might be wondering: Why should I stop using these attributes? Should I even stop?

While browsers do still have support for the HTML5-deprecated elements, they won't in the future. It's a good practice to start phasing out the use of these attributes and elements and using the substitutes.

The solution: Most of the deprecated elements are deprecated because CSS can be used instead. Instead of continuing the use of these attributes that will not be useable in coming years, start using CSS now. If you need to know more about the deprecated attributes and what to use instead, look it up on Google.

Just a heads-up. If you have any more questions, ask me below.

No comments:

Post a Comment

Please keep your comments appropriate.