<a> <div></div> </a>


#1

I'm trying to turn my yellow square into a link to google, but something is wrong with the code. Any help?

<a href="www.google.com"><"div style="width:50px; height: 50px; background-color:"yellow"></div></a>

#2

Try removing the quotation marks around yellow


#3

Voila! That made me realize I had unnecessary quotations before div style, as well. Thanks!