Skip to main content

Anchor tag inside <h1> or <h1> inside achoranchor tag: which is better?

Question Protected by CommunityBot
retagged
Link
unor
  • 21.9k
  • 3
  • 47
  • 118
Formatting.
Source Link
Zistoloen
  • 10k
  • 6
  • 36
  • 59

Anchor tag inside H1<h1> or H1<h1> inside achor tag  : Whichwhich is better?

I am trying to use h1<h1> tags on my blog for the post title and came across one problem. Title Title is hyperlinked.

so

Case 1:

<h1> <a href=""> xyz </a> </h1>

case 2:

<a href=""> <h1> xyz</h1> </a> 

whichWhich one is better in terms of SEO SEO?

Anchor tag inside H1 or H1 inside achor tag  : Which is better?

I am trying to use h1 tags on my blog for the post title and came across one problem. Title is hyperlinked.

so

Case 1:

<h1> <a href=""> xyz </a> </h1>

case 2:

<a href=""> <h1> xyz</h1> </a> 

which one is better in terms of SEO ?

Anchor tag inside <h1> or <h1> inside achor tag: which is better?

I am trying to use <h1> tags on my blog for the post title and came across one problem. Title is hyperlinked.

Case 1:

<h1> <a href=""> xyz </a> </h1>

case 2:

<a href=""> <h1> xyz</h1> </a> 

Which one is better in terms of SEO?

Tweeted twitter.com/#!/StackWebmasters/status/121117940660715520
Changed code
Source Link
Sangram
  • 1.1k
  • 2
  • 8
  • 13
Loading
Source Link
Sangram
  • 1.1k
  • 2
  • 8
  • 13
Loading