Leaving CSS inside HTML pages disrupts SEO ?

Asked

Viewed 173 times

0

I ended up making the site at once, and now it’s ready but it’s going to be very complex to link all the CSS’s. I wanted to know how to leave all css or almost all within HTML will disrupt my ranking in google.

  • CSS does not affect SEO, the important thing is HTML code. That’s how search engines see your site and not graphically as human nodes.

  • This fact itself, no. What affects most is the content, the quality of HTML and the performance.

2 answers

1


It is not certain which algorithm Google uses to rank the sites, and this algorithm is constantly changed. Therefore, there is no way to state for sure whether or not this will affect the ranking of your site. What can be said is that it is not good practice to put your CSS in the same HTML file. We can mention a few reasons:

  • Makes it difficult to maintain the site;
  • Leaves code loaded with information not relevant to search engines;
  • Information that is irrelevant to screen readers.

So there’s no reason not to put CSS in another file.

  • Now you asked me a question, because the Google uses the CSS on the page ?

  • I don’t really know how to answer that question, but I can kick some ass. They can use some kind of interpreter that builds the page, automatically putting the style. Or it could be because of speed, as you won’t need to make an http request to download another file. But if you look at it, they use tbm style sheets. In addition, we don’t even know if the way to build the style of the page influences even, so it’s all very speculative.

  • 1

    Note that the CSS is minified, but on a PHP page is enough include 'style.css'; and ready.

0

Hardly, because what the search engine takes into account is the textual content. Everything else will be filtered.

I believe that the CSS influence only when it determines whether the elements are visible on the page or not. But still, if the CSS is inside the page or in an external file will not influence the SEO.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.