Go back to Glossary

Element HTML attribute

Element HTML attributes are special words with values used inside the opening tag of an element to control the element's behaviour.

An example would be ID that is added to an element so JavaScript can access it or a link to target it.