HTML banner with click Tag but in validator it says it’s missing

  banner, html, javascript, jquery-animate, validation

I hav tried everything with my html banner that i created with Adobe Animate. With the "add using wizard" option in actions my banner works perfectly – when clicking on a button it opens a webpage. But the html validator says that it’s missing a click Tag so i put the code below in the html file, but it still says click tag is missing, and i’m afraid that when my client use Ad Manager they will get this fault too.

  <meta name="ad.size" content="width=160,height=600">
    var clickTag = "";
<body onload="init();" style="margin:0px;">
  <a href=""> <canvas id="canvas" width="160" height="600" style="position: absolute; display: block; background-color:rgba(35, 31, 32, 1.00);"></canvas></a>

Source: Ask Javascript Questions