HTML – Global attributes

 0    14 flashcards    sir
download mp3 print play test yourself
 
Question Answer
Specifies a shortcut key to activate/focus an element
start learning
accesskey
Specifies one or more CLASSNAMES for an element (refers to a class in a style sheet)
start learning
class
Specifies whether the content of an element is editable or not
start learning
contenteditable
Used to store custom data private to the page or application
start learning
data-*
Specifies the text direction for the content in an element
start learning
dir= ["ltr" | "rtl"]
Specifies whether an element is draggable or not
start learning
draggable
Hides the element.
start learning
hidden
Specifies a unique id for an element
start learning
id
Specifies the language of the element's content
start learning
lang
Specifies whether the element is to have its spelling and grammar checked or not
start learning
spellcheck
Specifies an inline CSS style for an element
start learning
style
Specifies the tabbing order of an element
start learning
tabindex
Specifies extra information about an element
start learning
title
Specifies whether the content of an element should be translated or not
start learning
translate

You must sign in to write a comment