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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -