Gets an attribute from the html element.
The name of the attribute.
The default value to return when the attribute wasn't found.
Returns the attribute's value if found, else the specified default value.
See Implementation
Gets an attribute from the html element.