Total Validator

Home | Validator | Downloads | Support | Feedback | Blog

(X)HTML problems

These problems are due to non-conformance with the chosen (X)HTML specification:

E600This element is not recognisedThis error is often raised when a browser-specific tag has been used such as <embed>. Alternatively you may have misspelled the name or tried to use a tag that is not valid with the HTML specification you are validating against.
E601This tag should not be nested within any other tagsThis error is normally due to other errors within the page, such as using a frame set with the wrong <!DOCTYPE> tag. You can find a list of the <!DOCTYPE> " recognises here.
E602This should be the first HTML tag or content in the fileThe <!DOCTYPE> tag should appear before all other HTML tags or non-whitespace content (with XHTML it may appear after the XML declaration).
E603An end tag is not allowed for this elementThis error occurs when you use an end tag where no end tag is allowed according to the HTML specification being validated against. Correcting this error is normally a matter of deleting the end tag indicated.
E604The matching end tag appears to be missingAccording to the HTML specification being validated against, the tag must have an end tag. Sometimes this error is caused by improperly nested tags where the end tag exists but cannot be matched with the corresponding start tag.
E606This tag or content must be nested within another tagThe tag or content appears at the top level, but it must be nested inside another tag. This error is typically caused by missing or misplaced <html>, <head> and <body> start and end tags. Although these three tags are actually optional in HTML, it is poor practice to miss them off and often causes problems for search engine robots.
E607This tag or content must be nested within another tagThe tag or content appears at the top level, but it must be nested inside another tag. This error is typically caused by missing or misplaced <html>, <head> and <body> start and end tags. Although these three tags are actually optional in HTML, it is poor practice to miss them off and often causes problems for search engine robots.
E608There must be a <!DOCTYPE> tag at the top of the page (if 'auto-detecting' then a best-fit <!DOCTYPE> will be used)A <!DOCTYPE> tag should be placed before any other HTML tag or non-whitespace characters on the page. Sometimes the <!DOCTYPE> tag is in the wrong place, but is usually missing altogether in these cases. A correct <!DOCTYPE> tag is needed to ensure that the browser interprets the HTML correctly. You can find a list of the <!DOCTYPE> " recognises here.
E609This tag or content is not allowed here. One of the following was expected: LIST OF VALID TAGSIf this error is preceded by an E604 error (missing end tag) then correcting the earlier E604 error may correct this one. Otherwise note that there are strict rules as to what tags may be nested within others, as well as the order and number of tags allowed. Try removing the item marked with this error or nesting it within one of the tags listed. Note that in rare cases it is possible that a tag in the list provided also may not be allowed, but a simple test should quickly resolve this.
E610One or more of the following tags are missing from within the enclosing tag: LIST OF MISSING TAGSThe HTML specification being tested against defines that the tag identified must have one or more specific tags nested within it. You should add one or more of the missing tag(s) as appropriate.
E611Only one of this type of tag should be used within the enclosing tagThis error occurs when the specification only allows one of a certain tag to be nested within the enclosing tag, and more than one tag was found.
E612This tag or content is not allowed hereEach tag is defined by the HTML specification as only being allowed to contain certain other items nested within it, and sometimes these nested items may only appear once or only in a certain order. A common problem is to use a tag where it may not be obvious that it is not allowed, and may be accepted by many browsers. Try removing the offending item or nesting it within one of the other tags listed.
E614The <!DOCTYPE> tag does not match the HTML specification being checked againstThe <!DOCTYPE> tag should exactly match the one that uniquely identifies the specification being tested. You can find a list of the <!DOCTYPE> " recognises here.
E620The 'ATTRIBUTE NAME' attribute is not valid for this tagThe most common reason for this error is the use of a browser-specific attribute (such as 'leftmargin' in the <body> tag), which is not part of the official HTML specification being tested against. If the attribute is for purely for layout then consider using CSS instead.
E621The 'ATTRIBUTE NAME' attribute for this tag is missingThe HTML specification being validated against requires that the attribute indicated always be used.
E622The 'ATTRIBUTE NAME' attribute does not have a valid value: LIST OF VALID VALUESThe HTML specification being validated against defines certain valid values for each attribute. Usually a list of valid values will be displayed when you see this message. Note that many values must be in lower case in XHTML, including the 'x' in numeric hex entity references. Note also that what values are allowed varies from standard to standard.
E623The values of all attributes must be enclosed by quotesIn XHTML all attribute values must be enclosed by quotes. See http://www.w3.org/TR/xhtml1/#h-4.4 (displayed in new window). This error is sometimes caused by a misformatted tag possibly with single or double quotes in the wrong place or mismatched. Check that there are no extra or missing quote characters.
E624The 'content' attribute should have a value of 'application/xhtml+xml' for XHTMLNote that <meta> tags override HTTP headers and XHTML should be served with a content type of 'application/xhtml+xml', but the content type used was not recognised. See http://www.w3.org/TR/xhtml-media-types/#summary (displayed in new window).
E625The 'content' attribute should have a value of 'text/html' for HTMLNote that <meta> tags override HTTP headers and HTML should be served with a content type of 'text/html'. See http://www.w3.org/TR/xhtml-media-types/#summary (displayed in new window).
E626All element names must be in lower caseXML is case-sensitive and in XHTML all element names are defined as being in lower case. See http://www.w3.org/TR/xhtml1/#h-4.2 (displayed in new window).
E628Singleton tags are not allowed in HTMLWith HTML you are not allowed to end a tag with the '/' character. This is only valid with XHTML documents.
E629No matching anchor nameA link was found to an anchor in the same page, but that anchor could could not be found. You need to either remove the link or add a matching anchor name.
E630The name and id attributes must have the same valueWhen id and name attributes appear in the same element they must have the same value. See http://www.w3.org/TR/html401/struct/links.html#h-12.2.3 (displayed in new window).
E631Anchor name and id attributes must be unique in the same documentAll id and anchor name attributes in the same document must have unique values. See http://www.w3.org/TR/html401/struct/links.html#h-12.2.3 (displayed in new window).
E632No matching anchor nameA link was found in a redirect that points to an anchor in the same page, but that anchor could could not be found. You need to amend the redirect or add a matching anchor name.
E633The 'content-type' http header should have a value of 'application/xhtml+xml' for XHTMLXHTML should be served with a content type of 'application/xhtml+xml', but the content type used was not recognised. See http://www.w3.org/TR/xhtml-media-types/#summary (displayed in new window).
E634The 'content-type' http header should have a value of 'text/html' for HTMLHTML should be served with a content type of 'text/html'. See http://www.w3.org/TR/xhtml-media-types/#summary (displayed in new window).
E635The XML declaration must appear before any other content or tagsThe XML declaration (if supplied) must be the first thing in the file, before any other content or tags.
E636Only one XML declaration is allowedOnly one XML declaration may be supplied and this must be the first thing in the file, before any other content or tags.
E637The XML declaration must contain a 'version' attributeThe XML declaration must contain a 'version' attribute. Check the spelling of any attributes supplied.
E638Invalid value for the 'version' attributeThe 'version' attribute must be set to the string '1.0'.
E639Invalid value for the 'encoding' attributeThe 'encoding' attribute must begin with a letter [a-zA-Z] and may be followed by any number of letters, digits [0-9], hyphens, underscores, and periods.
E640Invalid value for the 'standalone' attributeThe 'standalone' attribute must be set to either 'yes' or 'no'.
E641Unknown or invalid attributeThe XML declaration contains an unrecognised or invalid attribute. Check for spelling mistakes.
E642The root element name 'html' is missing from the <!DOCTYPE> tagThe root element name 'html' is either missing from the <!DOCTYPE> tag, misspelt, or the wrong root element name has been used. You can find a list of the <!DOCTYPE> tags that Total Validator recognises here.
E643The keyword 'PUBLIC' is missing from the <!DOCTYPE> tagThe keyword 'PUBLIC' is either missing from the <!DOCTYPE> tag, or misspelt. You can find a list of the <!DOCTYPE> tags that Total Validator recognises here.
E644The word '!DOCTYPE' must be in uppercase for XHTML documentsThe name '!DOCTYPE' must be all in uppercase for XHTML documents. You can find a list of the <!DOCTYPE> tags that Total Validator recognises here.
E645The keyword 'PUBLIC' must be in uppercase for XHTML documentsThe keyword 'PUBLIC' must be all in uppercase for XHTML documents. You can find a list of the <!DOCTYPE> tags that Total Validator recognises here.
E646The root element name 'html' must be in lowercase for XHTML documentsThe root element name 'html' must be all in in lowercase for XHTML documents. You can find a list of the <!DOCTYPE> tags that Total Validator recognises here.
E647The character set is not recognisedThe character set specified is not recognised. This may be because it is misspelled.
E648The value of the 'for' attribute must match the 'id' of the control element it refers toWhen you include a 'for' attribute to associate a label with a control you must provide a control with a matching 'id' value in the same document. See http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1 (displayed in new window).
E649The default scripting language must be specified for an intrinsic eventWhen intrinsic events (onclick, onmouseover etc) are specified the default scripting language should be specified using a Content-Script-Type HTTP header or <meta> tag. See http://www.w3.org/TR/html401/interact/scripts.html#h-18.2.2.1 (displayed in new window).
E650The default style sheet language must be specified when style attributes are usedWhen style attributes are used the default style sheet language should be specified using a Content-Style-Type HTTP header or <meta> tag. See http://www.w3.org/TR/html401/present/styles.html#h-14.2.1 (displayed in new window).
W600The 'ATTRIBUTE NAME' attribute has a boolean value, and this may be ignored or cause errors in older browsers/robotsSome older browsers and search engine robots do not recognise XHTML style boolean attributes such as selected="selected". For backwards compatibility just use the attribute without any value, e.g. 'selected'
W601The 'ATTRIBUTE NAME' attribute for this tag is recommended, but missingAlthough this attribute is not required it is recommended that you add it for clarity.
W602The <!DOCTYPE> tag does not match the HTML specification being checked againstThe <!DOCTYPE> tag should exactly match the one that uniquely identifies the specification being tested. You can find a list of the <!DOCTYPE> " recognises here.
W603The system ID is missing from the <!DOCTYPE> tagAlthough not a serious problem, the <!DOCTYPE> tag should exactly match the one that uniquely identifies the specification that the page follows. In this case the system ID is missing and should be added for completeness. This is a URL pointing to the DTD used to validate the page. You can find a list of the <!DOCTYPE> " recognises here.
W607The 'content' attribute should have a value of 'application/xhtml+xml' for XHTML 1.1Note that <meta> tags override HTTP headers and XHTML 1.1 should be served with a content type of 'application/xhtml+xml'. See http://www.w3.org/TR/xhtml-media-types/#summary (displayed in new window).
W608The 'content-type' http header should have a value of 'application/xhtml+xml' for XHTML 1.1XHTML 1.1 should be served with a content type of 'application/xhtml+xml'. See http://www.w3.org/TR/xhtml-media-types/#summary (displayed in new window).
W609The 'content-type' HTTP header specifies a different character setThe 'content-type' HTTP header specifies a different character set to that specified in the tag. In this case the HTTP header takes precedence.
W610The BOM specifies a different character setThe BOM (Byte Order Mark) of the document specifies a different character set to that specified in the tag. In this case the BOM takes precedence.
W611No character set is specified in either the HTTP header, <meta> tag, or XML declarationThe character set (character encoding) should be specified in either a HTTP header or <meta> tag, or XML declaration for XHTML documents. If it isn't then the user agent may select an incorrect character set by mistake. See http://www.w3.org/TR/html401/charset.html#h-5.2.2 (displayed in new window).

top