Extra Elements

Extra Elements

HTML5 Editable Text: contenteditable Attribute

A new addition to HTML5 is attribute contenteditable, it allows users to edit the text(contents) on the page.

To allow this feature set contenteditable=”true”, to disable this feature set contenteditable=”false” and if no setting is provided then it inherits the property settings from its parents.

 

 

HTML5 Element details Element The detail Element is used to create a disclosure widget which can be toggled to display the detailed information.

HTML5 Hidden Attribute

The Hidden attribute is used o hide the content that is currently not useful.