开发者

Do <span> tags hurt in regards to SEO?

开发者 https://www.devze.com 2022-12-20 20:06 出处:网络
For example would the following code penalize you in regards to SEO? <h2>Singles events across the UK! <span>Including Bristol, Manchester, London, Birmingham &amp; Newcastle.开发者_J

For example would the following code penalize you in regards to SEO?

<h2>Singles events across the UK! <span>Including Bristol, Manchester, London, Birmingham &amp; Newcastle.开发者_JS百科</span></h2>

Would the content inside the <span> tags be regarded as less important?


The tag on its own shouldn't, but be wary if you're setting the span to display: none in a deliberate attempt to hack SEO, you may get penalised.


You can never be sure about SEO but the answer is no, it doesn't hurt the search engine rankings.


Span is not required in the header tag, unless for a purpose (when an author wishes to assign style information to a set of elements). The documents are being read by a machine which are fed specific instructions and structure to process the meaning of that content. It depends.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号