separate elements that have "href" attributes from elements that have

"src" attributes.  otherwise, this causes mismatching in minified html where an img tag is wrapped in an element with an href
tag.  (.e.g <a href="/something"><img src="/my-image"/></a>)