This is an editable paragraph.

, W3Schools is optimized for learning and training. itemid The unique, global identifier of an item. Specifies a context menu for an element. The HTML global attribute, "contenteditable" is used to: Answers: Specify whether the content of an element should be editable or not. While using W3Schools, you agree to have read and accepted our, Specifies that the element is not editable. An attribute is an extension to an element, and is used to include more choices towards the overall functionality. Possible values. When the contenteditable attribute is not set on an element, the element will inherit it from In HTML5, contextmenu and spellcheck are: In HTML5, you can embed SVG elements directly into an HTML page. The value of id can be used by CSS or JavaScript to reference that element. The global attributes are supported by both standard and non-standard elements. class: Used to reference elements, by CSS, for example. HTML Reference HTML by Alphabet HTML by Category HTML Browser Support HTML Attributes HTML Global Attributes HTML Events HTML Colors HTML Canvas HTML Audio/Video HTML Character Sets HTML Doctypes HTML URL Encode HTML Language Codes HTML Country Codes HTTP Messages HTTP Methods PX to EM Converter Keyboard Shortcuts Edit. class: Used to reference elements, by CSS, for example. However, some attributes have no effect on some elements. Browser Support. There were some exceptions as late as HTML 4.01 and XHTML 1.1, but HTML5 says they are all supported but not necessarily useful. Links can also point directly to an element with a specific id. This attribute contains two value either true or false. This is a list of HTML global attributes that can use in all the HTML elements. These can be used on all HTML elements. accesskey – To specify the shortcut key. Contenteditable Attribute

This is an editable paragraph.

Upon clicking on the paragraph, the content of it can be edited similar to an input text field. class – Ad CSS class for an element. Translate: If this attribute is used, it specifies whether the content of the element is to be translated or not. If the attribute takes the values "true" or the empty string (""), or if it's simply present, the contents of the element will be editable. Home; News; Compare browsers; About; September 24, 2020 - New feature: CSS content-visibility. coords Defines the coordinates of the area. This attribute contains two value either true or false. HTML Global Attributes. PHP REFERENCES. contenteditable: Sets whether the user can edit the content or not. The menu appears when a user right-clicks on the element. . itemprop Used to add properties to an item. A class can appear more than once in the document. Examples might be simplified to improve reading and learning. id – Add CSS id for an element. Global attributes. Attribute Description Possible values; id: Identifies a unique element. controls