aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Deprecated tags in HTML 4.01 and still used in HTML 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Deprecated tags in HTML 4.01 and still used in HTML 5" Watch "Deprecated tags in HTML 4.01 and still used in HTML 5" New topic
Author

Deprecated tags in HTML 4.01 and still used in HTML 5

Mihai Lita
Ranch Hand

Joined: Jan 11, 2011
Posts: 36

Hi,
Can you please help me with the following question, i remembered i read an online tutorial about HTML 4.01 where it was mentioned that the <embed> tag is deprecated in HTML 4.01 but still used in HTML 5. I would like to know if this is true? If so why is that so? And if there are any other elements that are deprecated in HTML 4.01 and still used in HTML 5. My definition of deprecated is something that is old in this current version and will be removed in the next version(versions?).
Thank you.
Mohamed Sanaulla
Bartender

Joined: Sep 08, 2007
Posts: 2946
    
  15

I dont know but HTML5 specifications is still being developed and evolved.


Mohamed Sanaulla | My Blog
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 129
Hi Mihai,
Yes, the embed element is part of HTML5 (it was reinstated, as it was indeed deprecated in HTML 4.01 in favor of the object element). The specification states that embed is for plugin content.

I would guess the main reason that it was reinstated is that HTML5 is designed (for the most part) to be backwards compatible. That means taking into consideration how developers are using the web today, and making sure that older web sites (for the most part) don't break in new browsers. This is a core philosophy of HTML5.

That said, there are some elements which remain deprecated; these are primarily the elements (and attributes) that have been replaced by CSS in an effort to separate presentation and content. Browsers may continue to support them for some time to come, but developers should stop using these elements as soon as possible.

Elisabeth


Co-Author of Head First HTML5 Programming
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

In other words, if you're still using the <font> tag...


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 129
haha, exactly. (if you're still using <font>, we beg you, stop! :-))
Mihai Lita
Ranch Hand

Joined: Jan 11, 2011
Posts: 36

Thank you for your reply.
It lightens things up.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Deprecated tags in HTML 4.01 and still used in HTML 5
 
Similar Threads
choose one correct ans. -thread
HTML code to show applet?
Good CSS + HTML book
SCEA 5 - but what about JEE 6?
HTML DOCType problem