Which format would be the correct one for SEO purposes? <h2><a href="http://www.yahoo.com">Apples</a></h2> OR <a href="http://www.yahoo.com"><h2>Apples</h2></a> Or does it not matter?
Personally, I'd opt for: <h2><a href="http://www.yahoo.com">Apples</a></h2> HTML: Although, I'm sure there's no particular SEO benefit to one over the other.
<h2><a href="#">aaaaaaa</a></h2> Is the right HTML: an inline element inside a block one. For SEO purpouses: if it does anything, then the right html.