{"id":66,"date":"2022-03-19T10:13:18","date_gmt":"2022-03-19T10:13:18","guid":{"rendered":"https:\/\/staging.brightwhiz.com\/?post_type=topic&p=66"},"modified":"2022-03-19T10:13:19","modified_gmt":"2022-03-19T10:13:19","slug":"html-attributes-reference","status":"publish","type":"topic","link":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/","title":{"rendered":"HTML – Attributes Reference"},"content":{"rendered":"\n
These are the HTML attributes that are standard and associated with all the visual HTML tags. These attributes are listed with a brief description.<\/p>\n\n\n\n
These attributes are not valid in the base, head, HTML, meta, param, script, style, and title elements.<\/p>\n\n\n\nAttribute<\/th> HTML5<\/th> Description<\/th><\/tr><\/thead> accesskey<\/td> <\/td> Specifies a shortcut key for an element to be used in place of keyboard.<\/td><\/tr> class<\/td> <\/td> The class of the element.<\/td><\/tr> contenteditable<\/td> Yes<\/td> Boolean attribute to specify whether the element is editable or not.<\/td><\/tr> contextmenu<\/td> Yes<\/td> Specifies a context menu for an element.<\/td><\/tr> data-*<\/td> Yes<\/td> Used to store custom data associated with the element.<\/td><\/tr> draggable<\/td> Yes<\/td> Boolean attribute to specify whether the element can be dragged or not.<\/td><\/tr> dropzone<\/td> Yes<\/td> Specifies whether the dragged data is copied, moved, or linked when dropped.<\/td><\/tr> hidden<\/td> Yes<\/td> Specifies whether the element should be visible or not.<\/td><\/tr> id<\/td> Yes<\/td> A unique id for the element.<\/td><\/tr> spellcheck<\/td> Yes<\/td> Specifies if the element must have its spelling or grammar checked.<\/td><\/tr> style<\/td> <\/td> An inline style definition.<\/td><\/tr> tabindex<\/td> <\/td> Specifies the tab order of an element.<\/td><\/tr> title<\/td> <\/td> The text to display in a tooltip.<\/td><\/tr> translate<\/td> Yes<\/td> The boolean attribute specifies whether the content of an element should be translated or not.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n Language Attributes<\/h2>\n\n\n\n