MY mENU


Thursday 16 May 2013

HTML 5 TAGS Browser support

HTML 5:
  The below tags which are comes with HTML5 and which are supported in All Major browsers and not supported with.


Tags/Attributes Browser support
contenteditable       All Browsers
contextmenu       present not supported any browser
accessKey       Not supported by Opera
draggable      IE8 and earlier versions, safari 5.1.2 Not supported

Contenteditable in HTML

Contenteditable :  It is new in HTML 5. This Attribute is supported in all major browsers. The contenteditable attribute specifies whether the content of an element is editable or not.

Syntax: < element contenteditable="true|false|inherit">

The attribute values of this contenteditable are true, false, inherit ( inherit specifies that the element is editable if its parent is)

Access Key in HTML

Access Key: To specify a shortcut key to access/focus a specific element in your HTML page use <accessKey>

This accessKey attribute works in all major browsers except Opera.

In HTML 5 the accessKey attribute can be used to any HTML element (it will validate on any HTML element.).

In HTML 4 the accessKey attribute can be used with <a> , <area> , <button> , <input> <label> ,  <legend> , <textarea>

The syntax:     <element accessKey="character">