An attribute of an HTML element.
Examples:
<a
href ="semmle.com" <!-- an attribute -->
target=_blank <!-- also an attribute -->
>Semmle</a>
Import path
import semmle.go.HTML
Direct supertypes
Indirect supertypes
Predicates
getElement | Gets the element to which this attribute belongs. |
getName | Gets the name of this attribute. |
getRoot | Gets the root element in which the element to which this attribute belongs is contained. |
getValue | Gets the value of this attribute. |
toString | Gets a textual representation of this element. |
Inherited predicates
getFile | Gets the file this program element comes from. | from Locatable |
getLocation | Gets this element’s location. | from Locatable |
getNumLines | Gets the number of lines covered by this element. | from Locatable |
hasLocationInfo | Holds if this element is at the specified location. The location spans column | from Locatable |