Making h title a link
I have a heading like:
Now, I make this a link. So, it becomes:
<a href="...."><h2 class="content">Accessories</h2></a>
When I made this heading a link, would this still be considered as a heading
B) and for SEO purposes?
I see no reason why not. However if the link is styled so that it looks like other h elements then it may not be obvious to your site visitor that it is a link - yet leaving it with an underline and maybe a different colour could look messy.
Originally Posted by ketanco
BLOCK level elements cannot be placed inside INLINE elements.
<h2 class="content"><a href="....">Accessories</a></h2>
And you can style it any way that fits your needs with CSS
Oops - didn't spot that coding.
Originally Posted by opifex
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)