Mobile app version of vmapp.org
Login or Join
Chiappetta492

: Which is more correct: .. OR .. from SEO point of view? I read the same question on SO, but it was only addressing HTML complaint point of view. Moreover with HTML5 it does not make so

@Chiappetta492

Posted in: #Html5 #Seo

I read the same question on SO, but it was only addressing HTML complaint point of view. Moreover with HTML5 it does not make so much difference. I assume (without anything to back up my assumption), that the first approach is might be better from SEO point of view.

So is there any difference?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

1 Comments

Sorted by latest first Latest Oldest Best

 

@Deb1703797

I believe it doesn't matter for SEO. It's HTML5, it is (almost) a standard, they simply "aren't allowed" to give you bad credit.

I think this is more of a UX question. A header is a block level element and will be 100% width. An anchor is inline and will only wrap the text.

With that knowledge, you have two options:


Wrap the <h1> around the <a> -> only the text is clickable
Wrap the <a> around the <h1> -> the whole line is now clickable


In the end you'll get the most points if users stay on your site, better UX helps with that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme