Home:ALL Converter>what html5 features are already safe to use in a cross browser way?

what html5 features are already safe to use in a cross browser way?

Ask Time:2010-05-21T14:54:42         Author:Gunjan

Json Formatter

I'm already using the HTML5 Doctype in all my pages. Are there any other html5 specifications/features I can start using right now?

The conditions are:

  1. Cross browser - support for IE6 is optional but please specify
  2. No hacks please [javascript or otherwise]
  3. its completely acceptable if the feature degrades gracefully in older browsers

Author:Gunjan,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/2880107/what-html5-features-are-already-safe-to-use-in-a-cross-browser-way
Ms2ger :

Depends on what you consider an \"HTML5 feature\". A lot of \"new\" features in HTML5 are actually reverse-engineered from IE. insertAdjacentHTML, for example, is supported in IE4+. Even innerHTML can be considered an HTML5 feature, as it has never been in a standard before. The features that were specifically designed in HTML5, such as section and <input type=tel>, on the other hand, are very unlikely to be implemented in IE7.\n\n(Also note that IE7 came out in late 2006, while work on HTML5 started in 2004.)",
2010-05-21T10:33:54
tksb :

Of note would be some of the HTML5 input types. As far as I know any browser that doesn't recognize a type on an input element, defaults to type="text". The added value is minimal, but it's worth being aware of.\n\nOn devices running the iPhone OS for example, an element like:\n<p><label>Telephone: <input type=tel></label></p>\nor,\n<p><label>Email address: <input type=email></label></p>\nwould bring up an appropriate keyboard, giving importance to characters frequently needed in the respective input.\n\nGiven the immense semantic and user experience value, and the graceful degradation, I've adopted this on production sites without detriment. In some cases, especially with mixed doctypes, you could lose out on validation, but that's to be expected in a transitional period, and a sacrifice I'm willing to take.\nA lot of good info on the W3C site, regarding the updated form elements and specs.",
2010-05-29T21:02:32
AllenJB :

If IE7 is your lowest supported browser requirement, none (since it came out long before HTML5 was being considered by anyone, never mind Microsoft).\n\nQuirksmode has a feature availability chart:\nhttp://www.quirksmode.org/dom/html5.html",
2010-05-21T06:59:26
yy