title: Can a figure tag contain an anchor tag wrapping the image?
body: <p>I am trying to create a figure tag that has inside an anchor tag wrapping the image. I was wondering if that structure is legal or not. Here is the code showing how I want it to work.</p>
  
  <pre><code>&lt;figure&gt;
     &lt;a href="/my-picture"&gt;
         &lt;img src="img/picture.jpg" alt="My picture"&gt;
     &lt;/a&gt;
     &lt;figcaption&gt;
         My picture
     &lt;/figcaption&gt;
  &lt;/figure&gt;
  </code></pre>