setAttributeNS method
setAttributeNS
adds a new attribute or changes the value of an attribute
with the given namespace and name.
If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the Element.setAttribute method instead.
Implementation
external void setAttributeNS(
String? namespace,
String qualifiedName,
String value,
);