Complete HTML attribute applicability index
Find current HTML attributes, their permitted host elements, and exact specification definitions, with guidance on states and browser support.
THE HTML LEARNING LIBRARY
Find the syntax, attributes, constraints, and accessibility details you need.
Find current HTML attributes, their permitted host elements, and exact specification definitions, with guidance on states and browser support.
Id gives an element a unique identifier in its tree.
Style attaches CSS declarations to an element.
ARIA adds accessibility semantics when native HTML alone does not express the necessary relationship or state.
Lang identifies the language of content using a language tag.
Microdata annotates visible HTML with machine-readable items and properties.
Headingoffset and headingreset address computed heading levels, particularly in reusable component structures.
Compare hidden and inert, including presentation, focus, and accessibility implications. Learn when each state fits an interface.
Slot assigns a light-DOM element to a named distribution point inside a shadow tree.
Tabindex affects whether and where an element participates in sequential focus navigation.
HTML event-handler attributes connect events to inline script, while the DOM addEventListener API attaches listeners through JavaScript.
Contenteditable makes an element's contents editable.
Constraint attributes describe browser-side validity rules for applicable form controls.
Popover marks content that can be displayed in the browser's top layer.
Resource-loading attributes influence how a browser fetches or prioritizes a resource.
No resources on this page match that filter. Try a shorter phrase or search the full library.