Jump to content

deprecated elements


sugan
 Share

Recommended Posts

hii often see some tags are marked as deprecated after some version of HTML. My doubt isi) If we use them in our pages what would happen? will they work or not?ii) And are these deprecated elements are parsed by the latest browsers?iii) And if some portion need the exact need of that deprecated tags what should i do?iv) is there any other equivalent tags for those deprecated elements?Regards,Sugan

Link to comment
Share on other sites

i) If we use them in our pages what would happen? will they work or not?ii) And are these deprecated elements are parsed by the latest browsers?
Depends on which DTD (document type definition) you give your page. If you set it as XHTML 1.1, then old tags such as <font> etc. won't render, but if it is set for transitional then they still will. Only a while in the future (e.g. ten years?) will browsers stop supporting the old document types in their rendering engines.
iii) And if some portion need the exact need of that deprecated tags what should i do?
This should never be so, there should always be a CSS/JavaScript method of doing it.
iv) is there any other equivalent tags for those deprecated elements?
Maybe, or they may have been replaced by CSS, or have a JavaScript solution.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...