Quantcast
Channel: Is putting a div inside an anchor ever correct? - Stack Overflow
Viewing all articles
Browse latest Browse all 17

Answer by Abir for Is putting a div inside an anchor ever correct?

$
0
0

With HTML5 specification... It is now possible to put a block-level element inside of an inline element. So now it's perfectly appropriate to put a 'div' or 'h1' inside of an 'a' element.


Viewing all articles
Browse latest Browse all 17

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>