Sets attributes on a given HTML element.
HTMLElement to set attributes on
An object containing key-value pairs of attributes to set
Sets attributes on a given HTML element.