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/
First, deprecated elements are usually not the best elements to use. They are generally deprecated for a reason, as there are better ways to do it.
Second, they could go away in future browsers. (Whether they will is a complicated question.)
For these reasons, you should always avoid deprecated functionality. It isn't a matter of avoiding it at all costs, since deprecated functionality is almost never the best way of doing something.
Whether it's worth changing an existing product is another question. Most web sites will need revision for other reasons later on, and that can include removing deprecated elements. Many will be removed from the web (for various reasons) long before any browser that doesn't support them gains popularity.
However, you're talking about a tool, and that's different. A tool should be more strict than an end product, since it affects not only today's work but work extending into the indefinite future, thereby raising the chances for problems. I'd say that the tool needs to be changed.
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.
There is normally a reason for deprecating things, and more often than not, another way of doing the same thing that isn't deprecated.
The cons ?
well... they are deprecated ..