I have built an ad with a background image which is a clickable link. However to get the link to activate, I have it outside my table. When I go to validate my code, I get an error saying I can't place the <table> within the <a>
If I move the <a> into the table, the link no longer activates. No matter where I try putting it, it will not activate my link.
Can anyone help me solve this? Here is a sample of the structure I'm using
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>ad</title><style type="text/css">body { background-image: url("images/best.jpg"); background-position: 100; background-repeat: no-repeat;}</style></head><body> <a href="http://webiste link" target="_blank"><table class= "container" width="650" cellspacing="0" cellpadding="0" align="left"> <tr> <td valign="top"><img src="images/image.png" width="200" height="54" style="margin: 20px 0 45px 20px;" alt="logo"><h1 style="font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 38px; color: #ffffff; text-align: left; line-height: 110%; font-weight:400; margin: 65px 300px 50px 20px;">Body copy here</h1></td></tr></table></a></body></html>