Pretty simple question I hope - I'm curious as to the correct way to link a heading tag? Thinking about it I guess this is relevant to anything you want to turn into a link actually.
So is it:
1) <a href=""><h2>My Heading</h2></a>
2) <h2><a href="">My Heading</a></h2>
The latter seems preferable, however this seems to lead to link styling overriding H2 styles (in the example).