According to the W3C wrapping multiple elements in 1 anchor tag is invalid.
I was wondering is there is a neat CSS solution for combining multiple heading and image tags into 1 valid clickable anchor?
I'm building a property listing site, and I want my 'mini listing boxes' to only have 1 anchor. Here's my invalid code:
<a href="listings.html">
<h4>FOR SALE</h4>
<h2>Listing Title</h2>
<h4>$1,000,000</h4>
</a>