Answer:
- Used to include additional information in an element
- May be required for certain elements
- Consist of a keyword followed by an equals sign and additional information in quotes
Explanation:
<a href="website link goes here"> <---- example element with an attribute.
- You can see the <a> element which creates a link requires a "href" (which means "Hypertext Reference", basically a fancy way of saying a link to another page) attribute for the source of the link.
- The keyword "href" is followed by an equals and wrapped in quotes.
- Can be used to include additional information, like how you can use the keyword "alt" with an <img> tag to add text that shows up when you hover over it.
----------------------------------------------------------------------------------------------------------
In response to the other answers:
- The attribute itself is not wrapped in angle brackets, though it does sit within them. It is the *element* that is wrapped in angle brackets.
- The attributes are not added to the end (closing) tag, they are added to the opening tag.