Attributes are abbreviations or words that require information which pair your element to something else. Their format with an element is <elementName attributeName=”attributeValue”></elementName>. Here are some examples:

Style is the first attribute. Similarly to its element name-sharer, the code inside it becomes CSS.

Class is the second attribute. The code within will assign the corresponding CSS class to the element.

Src is the third attribute. The code inside will assign a source to the element.

Id is the fourth attribute. The code inside will assign your element an id which can be referred to through JavaScript.

Type is the fifth attribute. The code within will assign a type to your element.

Value is the sixth attribute. The code within will assign a value to your element.