use outerHTML to get html of element for axis