HTML - Attribute

About

An attribute in HTML is an XML attribute of an HTML element

Property

Name

Attribute names are case-insensitive.

Special

Classes and IDs are attributes used in the selection of element. Class and ID names cannot begin with numerals; they must begin with alphabetic characters.

Order

Order does not matter but some attributes are more searched (ie have more functionality) while reading HTML.

The code guide gives the following order that reflects this idea

How to access HTML Attribute via Javascript


Powered by ComboStrap