Answer the question
In order to leave comments, you need to log in
Which is better for seo small css or html?
there are two sites weigh the same if you take all their files together, but site 1 has more code in html and css weighs little, while site 2, on the contrary, html weighs little and css is huge.
what will be better in terms of seo 1 or site 2?
Answer the question
In order to leave comments, you need to log in
From the point of view of SEO, the amount of code does not directly matter.
The amount of code affects download speed, and download speed affects SEO.
I recommend that you evaluate the download speed and draw conclusions based on this analysis.
the conditions are not quite correctly described, I understand it there about the same content, but one has more html elements, and the second has the same styling tasks achieved using css. If so, then the first one has clearly excessive nesting and is probably worse for seo.
But in fact, it is better to discuss specific examples, because there are a lot of indirect, not obvious things. Correct me if I'm wrong, but rather give an example code.
There will obviously be another download speed factor, but since we are guessing on coffee grounds without real numbers, no one will tell you for sure. We need to get down to specifics.
2mb css file is definitely bad. But if we are talking about 20kb against 30kb, this is nothing.
It is the same for SEO, but it is easier for a coder to work when everything is separated. Therefore, with more css it will be better.
Obviously, with the right approach with a separate CSS, the site will load faster
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question