Methods for retrieving element attributes

Examined element (original markup)

Examined element, as interpreted by the browser (element.outerHTML)