pub fn set_attribute(el: &Element, attr_name: &str, value: &str)
Sets the value of an attribute on a DOM element. See Element.setAttribute.
Element.setAttribute