HTML | Attributes Complete Reference
HTML attributes: HTML attributes are the special words placed inside the opening tags and used to define the characteristics of an HTML element. The HTML attributes contain two parts, attribute name, and its value. The attribute pairs (attribute_name, attribute_value) are separated using equal (=) operator. The attribute value is closed inside double quotes (” “).
The complete list of HTML attributes are given below:
Attributes:
- HTML | accept Attribute
- HTML | accept-charset Attribute
- HTML | accesskey Attribute
- HTML | action; Attribute
- HTML | autofocus Attribute
- HTML | charset Attribute
- HTML | checked Attribute
- HTML | Class Attribute
- HTML | cols Attribute
- HTML | colspan Attribute
- HTML | content Attribute
- HTML | contenteditable Attribute
- HTML | data Attribute
- HTML | data-* Attribute
- HTML | datetime Attribute
- HTML | dir Attribute
- HTML | dirname Attribute
- HTML | disabled Attribute
- HTML | draggable Attribute
- HTML | dropzone Attribute
- HTML | enctype Attribute
- HTML | for Attribute
- HTML | form Attribute
- HTML | height Attribute
- HTML | hidden Attribute
- HTML | high Attribute
- HTML | hreflang Attribute
- HTML | Id Attributes
- HTML | lang Attribute
- HTML | list Attribute
- HTML | low Attribute
- HTML | maxlength Attribute
- HTML | method Attribute
- HTML | min Attribute
- HTML | multiple Attribute
- HTML | novalidate Attribute
- HTML | onblur Attribute
- HTML | oncopy Attribute
- HTML | oncut Attribute
- HTML | onkeypress Attribute
- HTML | onmousedown Attribute
- HTML | onscroll Attribute
- HTML | optimum Attribute
- HTML | pattern Attribute
- HTML | placeholder Attribute
- HTML | readonly Attribute
- HTML | required Attribute
- HTML | reversed Attribute
- HTML | rows Attribute
- HTML | rowspan Attribute
- HTML | selected Attribute
- HTML | size Attribute
- HTML | spellcheck Attribute
- HTML | srclang Attribute
- HTML | start Attribute
- HTML | step Attribute
- HTML | style Attribute
- HTML | tabindex Attribute
- HTML | target Attribute
- HTML | title Attribute
- HTML | translate Attribute
- HTML | value Attribute
Event Attributes: