A lot of validation problems stem from a lack of understanding about the correct elements and the use of attributes.
HTML Elements are the basic components that are used to create the structure of an HTML document. Examples of elements are headings, paragraphs, lists, etc.
<ul>
<li><a href="#">Item one</a></li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
</ul>
An attribute is a name-value pair used with an HTML element to assign additional properties to the element being defined.
<img src="05.gif" alt="" width="100" height="100">