Results 1 to 5 of 5
Feb 20, 2009, 08:16 #1
- Join Date
- Feb 2008
- 0 Post(s)
- 0 Thread(s)
Linking headings... the correct way?
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).