An attribute is a piece of code attached to a tag which supplies additional information: <code><div <mark>class="some-class"</mark>>This is a div element</div></code> This is an attribute. So, when people say 'I've used alt tags', they haven't; they've used alt attributes.