Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

webdesign

validator w3.org erro

Recommended Posts

pessoal quando faço para validar o meu site no validator ele gera aquele erro o que faço para resolver na linha 209 na tem nada

 

  1. error.pngLine 209, Column 1: character data is not allowed here 
     
    You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:
     
    • putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
    • forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or
    • using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML.

Compartilhar este post


Link para o post
Compartilhar em outros sites

mude o encode do seu arquivo para utf-8 without BOM.

Compartilhar este post


Link para o post
Compartilhar em outros sites

resolvido

 

resolvido

 

agora apareceu me este

  1. error.pngLine 201, Column 45: required attribute "cols" not specified <textarea name="comentario" rows="5"></textarea>
     
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
     
    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Compartilhar este post


Link para o post
Compartilhar em outros sites

informe o cols

<textarea name="comentario" rows="5" cols="30">

Compartilhar este post


Link para o post
Compartilhar em outros sites

a«ultimo erro agora tenho o script do facebook que gera este erro

  1. error.pngLine 156, Column 16: there is no attribute "share_url" share_url="http://omeu site/novidades/os-flintstones-2"…
     
    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.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Vou mover o tópico para webstandards.

 

faça com que um document.write() escreva a tag do facebook, ai vai validar.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Vou mover o tópico para webstandards.

 

faça com que um document.write() escreva a tag do facebook, ai vai validar.

 

wiliam pode explicar como faço issu?já dei uma estudada e nao vejo nada

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.