jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes HTML5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML5" Watch "HTML5" New topic
Author

HTML5

Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I have used old style HTML and built a lot of web pages but I have no clue about HTML5. Is there a significant ramp up time? Does your book "HTML manual of style" address all the aspects?


===Vyas Sanzgiri===
My Blog
Larry Aronson
Author
Greenhorn

Joined: Dec 08, 2010
Posts: 26

No, there's no significant ramp up. HTML5 introduces new elements that you can incorporate over time into the websites you work on. Old HTML will continue to be supported – Well most of it anyway. Some very old elements of HTML, such as blink, applet, frame and frameset, are designated as "obsolete" in HTML5. Browser manufacturers are encouraged to continue their support for obsolete elements to provide backward compatibility, but they are not required to.

At the simplest level there are new elements whose use is obvious — article, header, footer, aside, nav and section — to provide a finer level of semantic description of documents.

There are new elements for media — video and audio — which are tremendous improvements over the object, param and embed elements used with plugin technologies. These new media elements are as easy to use as the IMG tag.

There are new form input types that will verify user input automatically: "email", "url", "search", "number", plus additional attributes like "placeholder" and "required", that will reduce the amount of extra coding needed.

Most of the new features of HTML5 permit graceful fallback in non-compliant browsers and there are tools available to add support for new elements in legacy browsers. Google Chrome Frame, for instance, is a free plugin that gives IE the HTML5 capabilities of the Chrome browser. There's also an HTML5 shim that dynamically attaches new HTML5 elements to IE’s document object model (DOM) making HTML5 workable for IE7 and IE8 users.

Larry


Larry Aronson
Author: HTML Manual of Style
http://LarryAronson.com/
@laronson, @HTML5pro
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Thanks! I am surprised that applet, frame and frameset are obsolete. I see them widely used. Are there any alternatives esp for "applet"
Larry Aronson
Author
Greenhorn

Joined: Dec 08, 2010
Posts: 26

The object element should be used in place of applet and iframe should be used instead of frame and frameset.

Good riddance to frames. They are problematic and present huge problems to search robots and user agents other than our standard visual browsers.

Larry
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Vyas Sanzgiri wrote:Thanks! I am surprised that applet, frame and frameset are obsolete.

You should be no more surprised that these are gone than abominations like the <blink> and <font> tags.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: HTML5
 
Similar Threads
how to create more dynamic and stylised pages in jsp?
Is "Learning HTML 5 Game Programming" a good first HTML5 book?
HTML5 Headfirst
How much attention is payed on HTML 5 in HTML Manual of Style?
jQuers in Action - A Question