bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/HTML/Reference and Practice
HTML•Reference and Practice

HTML Global Attributes

Flash cards

Review the key moves

1/3
Core idea

What is the main idea behind HTML Global Attributes?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

The global attributes are attributes that can be used with all HTML elements.

AttributeDescription
accesskeySpecifies a shortcut key to activate/focus an element
classSpecifies one or more classnames for an element (refers to a class in a style sheet)
contenteditableSpecifies whether the content of an element is editable or not
data-*Used to store custom data private to the page or application
dirSpecifies the text direction for the content in an element
draggableSpecifies whether an element is draggable or not
enterkeyhintSpecifies the text of the enter-key on a virtual keyboard
hiddenSpecifies that an element is not yet, or is no longer, relevant
idSpecifies a unique id for an element
inertSpecifies that the browser should ignore this section
inputmodeSpecifies the mode of a virtual keyboard
langSpecifies the language of the element's content
popoverSpecifies a popover element
spellcheckSpecifies whether the element is to have its spelling and grammar checked or not
styleSpecifies an inline CSS style for an element
tabindexSpecifies the tabbing order of an element
titleSpecifies extra information about an element
translateSpecifies whether the content of an element should be translated or not

Previous

HTML Interview Preparation

Next

You Have Learned HTML, Now What?