Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will deprecated elements be removed from future browsers?

What are cons to using deprecated elements if I don't care about validation and I use that DTD which supports them? Will deprecated elements will not be rendered by future browsers?

Some online WYSIWYG editors (which we use in CMS) still give output in deprecated elements. Must I invest the time to change the output for a client?

alt text http://easycaptures.com/fs/uploaded/241/3445655293.jpg

Should we avoid deprecated elements at any cost?

Currently all mainstream browsers show all deprecated elements.

I just wanted to know the disadvantages of using deprecated elements to give to a non technical client even if all are working today in all browsers.

Update:

you can meet guideline 1.3 ensure that information and structure can be separated from presentation by using font and align elements if you like. Yes, that’s right. You can use an element which was deprecated in HTML 4.01 nine years ago that ties the presentation of your page is into the page structure and content — there’s no success criterion telling you not to use deprecated features, and you can still pass all of the success criteria for the guideline which states “ensure that information and structure can be separated from presentation.” And this is a step forward?

I found this in this article http://accessites.org/site/2006/06/the-wcag-20-what-a-whopper/

like image 411
Jitendra Vyas Avatar asked Nov 29 '22 19:11

Jitendra Vyas


2 Answers

Future browsers may not support them, and you should always follow spec. If you make a habit of deviating with trivial HTML, your future as a professional programmer will be dim.

If you're using an editor that still uses deprecated elements, you should replace them. Fortunately, this can be as simple as a find/replace command.

like image 128
Sampson Avatar answered Dec 04 '22 06:12

Sampson


There is normally a reason for deprecating things, and more often than not, another way of doing the same thing that isn't deprecated.

like image 30
James Barrass Avatar answered Dec 04 '22 07:12

James Barrass