HTML code and vocabulary
In the following example:
<div> <p> <a href="page.html" class="myClass secondClass" id="myIdentifier">My link</a> </p> </div>
<a>is an html element composed of an opening
idare attributes of the element
- “page.html” is the value of the attribute
<p>is a direct parent element of the
<div>is an indirect parent element of the
An HTML element can have one or more classes (in the
class attribute, separated by spaces). Several different elements may have the same class or common classes.
An HTML element can have an identifier (the
id attribute). An Identifier is unique, two elements cannot have the same identifier (in the field, this may happen but it is an error that can lead to edge effects). Duplicated identifiers will be indicated in our detailed analysis reports.