Class HTML::HTML::Attribute

An attribute of an HTML element.

For example, the element <a href ="semmle.com" target=_blank>Semmle</a> has two attributes: href ="semmle.com" and target=_blank.

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getElement

Gets the element to which this attribute belongs.

getLocation

Gets this element’s location.

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

getEndLine

Gets the line on which this element ends.

from Locatable
getFile

Gets the file this program element comes from.

from Locatable
getNumLines

Gets the number of lines covered by this element.

from Locatable
getStartLine

Gets the line on which this element starts.

from Locatable

Charpred