Search Engine Optimisation (SEO) Specialists

SEO Consult Blog

Common HTML Validation Errors - Part II

(1 votes, average: 5 out of 5)
Loading ... Loading ...

Filed under: W3C and Search Engine Optimisation by Nick on May 15th, 2008 @ 3:40 pm

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 type=”text/javascript” language=”javascript” src=”scripts.js”>

</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. <br /> should be changed to just <br>.

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 <div class =”exampleDiv”> 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:

  1. Common HTML Validation Errors
    Having a completely valid web page means additional crawling time and more frequent spidering. These two things can be the difference between a successful high...
  2. Navigation and SEO
    In the world of Search Engine Optimisation - a lot of attention is usually placed on obtaining correct keyword densities - however a lot of...
  3. The 3 Biggest SEO Mistakes
    There has been a lot of thought and detail gone into the blogs recently, specifically around errors which can be fixed on your website quickly...
  4. Tools for a SEO and Web developer
    There have been lots of blog lately in the SEO world defining useful tool for our industry so I thought I give you mine I...
  5. Flashback SEO
    As always with SEO (Search Engine Optimization) there’s a never ending battle between development and standards. With the rise of more complicated site layouts being...

This entry was posted on Thursday, May 15th, 2008 at 3:40 pm. You can follow any responses to this entry through the RSS feed.

Contact SEO Consult About Search Engine Optimisation

Leave a Reply

Search Blogs

Highest Rated Articles

Tag Cloud

Recent Posts

Blog Categories

Blog Archives

December 2008 November 2008
October 2008 September 2008
August 2008 July 2008
June 2008 May 2008
April 2008 March 2008
February 2008 January 2008
December 2007 November 2007
SEO Discussion Board from SEO Consult SEO Consult Resource Centre for Search Engine Optimisation
W3C XHTML Valid W3C CSS Valid W3C WAI  Internet Marketing RSS Feed for SEO Consult