HTML & CSS Errors?

Hello People

I would like to inquire if it is really necessary to eradicate all of the HTML/CSS validation errors on a web page or all the pages? Does it affect the performance of a website on search engines? do we have to get rid of 100% of those errors? or in case there are like 15, we still need to sort them out? I am specifically talking about the site I am trying to redesign, I would highly appreciate your inputs.

Search engines look at your content, far more than your HTML, but if the latter isn’t done well, they’ll find that content harder to identify. Fix as many errors as you can; start with the simplest, and work your way through one by one.

Why wouldn’t you remove the errors? Short of time, too lazy?
Sure, browsers are very forgiving of bad code and usually deal with it. But they are inconsistent in how they interpret things that are broken, so it can’t be relied upon for cross-browser/future-version stability.
Do yourself a favour, have some pride in your work, be professional and just fix the errors.

2 Likes

Hi Chris

I would like to thank you, I have had 2 projects and the webmaster that we hired did not fix all of them because there were some color changing on-page which made me confuse.

roger that, we are on it Tiger!

Don’t confuse Warning with Errors.

IMHO Warnings are often more “look at this and make sure you understand what it means”

For example, there are often many vendor prefix CSS warnings that as long as you know your CSS is OK can be pigeon holed for later review when browser support catches up with the non-prefixed syntax.

1 Like

Cheers

there are thousands of different web browsers and the only way you can ensure the page will display correctly in all of the ones that follow the standards is to make sure the code is valid (or install every possible browser and test in all of them across all the different operating systems)

2 Likes

It’s always a good idea to fix all errors during production so when the site goes live you know you are starting with a clean base. Plus it’s a good idea to make validation part of your workflow, that way you can deal with them a lot quicker.

2 Likes

Hi Cheris,
I am completely agree with you dear. But , when its come to SEO you must be clear all the error that you have with your website, otherwise it will be harmful for your site and indirectly its affects on your business.

Errors in coding will only affect SEO if they make it difficult or impossible for search engines to spider and index the site. Correct page structure and use of semantic tags will help SEO, as it makes your page more easily understandable by search engine algorithms, but most errors will have little or no effect. If this were not the case, there would be many sites which never appeared in search results.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.