setAttribute
Sets an attribute with the given key to the given value. If an attribute with the same key already exists, it will be overwritten.
Parameters
key
the key of the attribute
value
the value of the attribute
Sets an attribute with the given key to the given value. If an attribute with the same key already exists, it will be overwritten.
the key of the attribute
the value of the attribute