Due to the success of my initial blog regarding HTML errors, I have decided to inform you of more W3c errors that are frequently ignored and that will increase the indexing and therefore rankings of your website.
These are slightly more complicated and may require external research, but feel free to get in touch if you would like your site completely optimising by one of the professional programmers here at SEO Consult.
required attribute “TYPE” not specified. – The most common occurrence of this fault is when you have used CSS or javascript and not declared it within your code. You should use a tag like this to solve this problem.
<script src=”scripts.js” type=”text/javascript”>// <![CDATA[
// ]]></script>
NET-enabling start-tag requires SHORTTAG YES or document type does not allow element “META” here. – This is a simple fix, you have specified that your document be formatted to HTML, HTML mark up does not allow / to close a tag. I.e.
should be changed to just
.
Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml – This appears when you have created a HTML page and have failed to include the standard information. The best way to resolve this is to open a Dreamweaver HTML file, generating the right information as default, and then copy and paste into yours.
ID “exampleDiv” already defined.- When you see this error it is suggesting you have opened a div named exampleDiv, and then opened another div further on in the HTML code and called it the same name. The solution for this is to call all the duplicates
which will then sort out the problem.
Next time we can look at validation to Strict standards, this will be more successful but at the same time can be excruciatingly frustrating to clear.
Related posts:
- Top 5 most common validation errors
- Common HTML Validation Errors
- How to setup Google Analytics
- Google, Site Speed and 2010 part 2
- MySQL Date_Format()
Link to us
If you want to link to this blog, copy and paste the following HTML code to your website.







