seo - Header within a div within an anchor tag -
me , fellow webdeveloper having discussion whether or not seo-friendly. think it's okay have anchor <a>
tag wrapped around div. it's perfectly valid in html5.
however, says it's bad seo. <h1>
tag lose value in terms of seo.
the html:
<a href="/link"> <div> <h1>header </h1> <img /> <p>some test</p> <span>span acting link here</span> </div> </a>
does <h1>
lose value cause of this? want entire div clickable (for user experience) don't want make <h1>
lose value in terms of seo.
if using html5, they're both same.
as html5 allow block-level links.
if markup valid, not lose seo value. more important quality of link , text within.
Comments
Post a Comment