Executes callbackfn for each attribute.
OptionalthisArg: unknownReturns the value of the attribute from its local name and namespace.
// ✘ Qualified name is not supported
attributes.get("xml:lang")
// ✔ Namespaced attribute
attributes.get("lang", XML_NAMESPACE)
// ✔ No namespace
attributes.get("href")
Local name of the attribute. Qualified names are not supported.
Optionalnamespace: stringNamespace URI for attributes with a namespace.
undefined is returned.Returns true if the specified attribute is present, false otherwise.
Local name of the attribute.
Optionalnamespace: stringNamespace URI for attributes with a namespace.
An immutable namespace-aware collection of the attributes of an XML tag.
See
Attributes