class

The class HTML attribute is a list of classes of the element.

Syntax

class="value"

Examples

accesskey

autocapitalize

contenteditable

data

dir

draggable

hidden

id

inputmode

is

lang

spellcheck

style

tabindex

title

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu