Notes
All HTML elements can have attributes.
Attributes are always specified in the start tag.
<img src="/~vtqkyvmy/logo.jpg">
In the example above, img
is the element and src
is the attribute.
Some of the attributes of the img
element are src
, width
and height
.
<img src="/~vtqkyvmy/logo.jpg" width="480" height="720" alt="Website Logo" style="vertical-align:bottom">
style
, class
and id
are common attributes for every element.