Dustyhawk :: Broken Mirror


Making the xHtml Cut

By Serge Norguard. Filed in Personal  |  
TOP del.icio.us digg

serge isn’t exactly a geek, but there are times when he geeks out and this is the time that he is geeking out. as of now his site has 12 errors, it was 10 before this…but now its 12. Something went transitionally wrong, he says.
below is what is wrong.

Keynote since there are some full html tags, serge has changed the angle brackets (< & >) to { and } .

Error Line 664 column 125: there is no attribute “autocomplete”.
…et” action=”/index.php” autocomplete=”off”}
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the “Strict” document type with a document that uses frames (e.g. you must use the “Transitional” document type to get the “target” attribute), or by using vendor proprietary extensions such as “marginheight” (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

Error Line 665 column 22: value of attribute “type” cannot be “search”; must be one of “text”, “password”, “checkbox”, “radio”, “submit”, “reset”, “file”, “hidden”, “image”, “button”.
{ input type=”search” id=”livesearch” name=”s” value=”search blog archives” on
The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected=”selected””; a value like “selected=”true”” is not allowed.

Error Line 697 column 24: document type does not allow element “div” here; assuming missing “li” start-tag.
{div id=”chatoutput”/}

Error Line 750 column 4: end tag for “li” omitted, but OMITTAG NO was specified.

You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/}” instead of “}”.

Info Line 697 column 4: start tag was here.
{div id=”chatoutput”}
Error Line 854 column 30: document type does not allow element “script” here; assuming missing “li” start-tag.
{script type=”text/javascript”}{!–

Error Line 869 column 13: end tag for “li” omitted, but OMITTAG NO was specified.
{/script}{/script}{/div}

Info Line 854 column 0: start tag was here.
{script type=”text/javascript”}{!–
Error Line 891 column 54: end tag for “input” omitted, but OMITTAG NO was specified.
{input type=”hidden” name=”cmd” value=”_s-xclick”}

Info Line 891 column 4: start tag was here.
{input type=”hidden” name=”cmd” value=”_s-xclick”/}
Error Line 892 column 90: there is no attribute “border”.
…n_US/i/btn/x-click-but04.gif” border=”0″ name=”submit” alt=”Make payments wit

Error Line 892 column 170: end tag for “input” omitted, but OMITTAG NO was specified.
…ayPal - it’s fast, free and secure!”}

Info Line 892 column 4: start tag was here.
{input type=”image” src=”https://www.paypal.com/en_US/i/btn/x-click-but04.gi
Error Line 894 column 2: end tag for “input” omitted, but OMITTAG NO was specified.
“/}

Info Line 893 column 4: start tag was here.
{input type=”hidden” name=”encrypted” value=”—–BEGIN PKCS7—–MIIHNwYJKo
Error Line 919 column 123: document type does not allow element “noscript” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag.
…ounter/counter.js”/}{/script}{noscript}{img src=”http://c7.statcounter.com/co
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as “{p/}” or “{table}”) inside an inline element (such as “{a}”, “{span}”, or “{font}”).

Error Line 919 column 275: end tag for “img” omitted, but OMITTAG NO was specified.
…0″ alt=”free web tracker” border=”0″} {/font}{/span}{/a}{/table}{/noscript}

Info Line 919 column 124: start tag was here.

Sphere: Related Content

Tags:



Following Post(s) that relates to Making the xHtml Cut
XHTML Compliancy
No shit
Days in our night


7 comments to “Making the xHtml Cut”

  1. Comment by Wan Zafran:

    It would help readability if you changed the background-color of the code, changed it to a monospaced font (like Courier New), and added some margin. It’ll be easier for us to help then.

  2. Comment by Serge Norguard:

    what else besides courier new is considered monospaced fonts ?

  3. Comment by Sashi:

    When displaying HTML tags, use &gt; for > and &lt; for

  4. Comment by Serge Norguard:

    alright, thanks sashi

  5. Comment by Wan Zafran:

    I’m a bit busy currently, but I’ll drop a “prolific” message here or in your mailbox soon enough.

  6. Comment by Wan Zafran:

    I sent an email to you already.

TrackBacks / PingBacks

  1. Pingback
    XHTML Compliancy at .:: Dustyhawk :: Broken Mirror ::.

Before leaving a reply, do read the DISCLAIMER