salve gente
ho un problema con la validazione nel sito w3c con 8 errori del seguente codice
<a href="http://c-o-u-n-t.com" target="_blank">
</a>
cosa modifico??
chi mi aiuta??
grazie
riporto gli errori rilevati:
Validation Output: 8 Errors
1. Error Line 182, Column 39: Attribute "target" exists, but can not be used for this element.
<a href="http://c-o-u-n-t.com" target="_blank">
✉
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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
2. Error Line 182, Column 47: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
<a href="http://c-o-u-n-t.com" target="_blank">
✉
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 "
" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
3. Error Line 183, Column 114: Attribute "border" exists, but can not be used for this element.
…e=greenyelo&prog=unique" border="0" alt="Contatore Visite" title="Contato
✉
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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
4. Error Line 183, Column 169: end tag for "img" omitted, but OMITTAG NO was specified
…Visite" title="Contatore Visite"></a>
✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
5. Info Line 183: start tag was here
g<img src="http://001.c-o-u-n-t.com/count-036.pl?count=rickardcounter3&type=g
6. Error Line 183, Column > 80: XML Parsing Error: Opening and ending tag mismatch: img line 183 and a
…6.pl?count=rickardcounter3&type=greenyelo& ;prog=unique" border="0" alt…
✉
7. Error Line 191, Column 7: XML Parsing Error: Opening and ending tag mismatch: a line 182 and body
</body>
✉
8. Error Line 192, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 40 and html
</html>
✉
9. Error Line 192, Column 7: XML Parsing Error: Premature end of data in tag html line 2
</html>

Rispondi quotando

