sugan Posted October 9, 2007 Share Posted October 9, 2007 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 More sharing options...
Synook Posted October 9, 2007 Share Posted October 9, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.