Ir para conteúdo

POWERED BY:

Arquivado

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

Rogerio Pancini

Validação WC3

Recommended Posts

Boa noite pessoal.

Sou iniciante no fórum.

 

Fiz um projeto "de forma decente" (tinha uns projetos meio que "amadores") que fiz com pouco conhecimento.

Agora, depois de correr atrás, consegui meu objetivo, mas para finalizar, preciso terminar a validação WC3 do site.

Todas as páginas validam, a não ser duas que são galerias de fotos.

Eis o código do erro:

 

Line 104, Column 89: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…dex.php?page=sing/obras_visual&obra_id=1"><div class="obras_btn"></div></a>

✉

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 107, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 114, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 120, Column 89: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…dex.php?page=sing/obras_visual&obra_id=2"><div class="obras_btn"></div></a>

✉

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 123, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 130, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 136, Column 89: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…dex.php?page=sing/obras_visual&obra_id=3"><div class="obras_btn"></div></a>

✉

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 139, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 146, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 152, Column 89: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…dex.php?page=sing/obras_visual&obra_id=4"><div class="obras_btn"></div></a>

✉

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 155, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 162, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 168, Column 89: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…dex.php?page=sing/obras_visual&obra_id=5"><div class="obras_btn"></div></a>

✉

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 171, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 178, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 184, Column 89: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…dex.php?page=sing/obras_visual&obra_id=8"><div class="obras_btn"></div></a>

✉

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 187, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 194, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 200, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=10"><div class="obras_btn"></div></a>

✉

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 203, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 210, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 216, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=11"><div class="obras_btn"></div></a>

✉

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 219, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 226, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 232, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=12"><div class="obras_btn"></div></a>

✉

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 235, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 242, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 248, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=13"><div class="obras_btn"></div></a>

✉

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 251, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 258, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 264, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=14"><div class="obras_btn"></div></a>

✉

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 267, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 274, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 280, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=15"><div class="obras_btn"></div></a>

✉

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 283, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 290, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 296, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=16"><div class="obras_btn"></div></a>

✉

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 299, Column 16: ID "obras_thumb" already defined

    	<div id="obras_thumb">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 91, Column 19: ID "obras_thumb" first defined here

       	<div id="obras_thumb">

Error Line 306, Column 18: ID "sep_obras" already defined

       <div id="sep_obras">

✉

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
Info Line 98, Column 18: ID "sep_obras" first defined here

       <div id="sep_obras">

Error Line 312, Column 90: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ex.php?page=sing/obras_visual&obra_id=17"><div class="obras_btn"></div></a>

✉

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>").

 

Reparem que são fotos, ou seja, se descobrir um erro, os outros serão reparados.

Desculpe pela postagem extensa, não sei se é costume aqui, mas não custa perguntar se alguém tem alguma pista para ajudar.

 

Obrigad1o

Compartilhar este post


Link para o post
Compartilhar em outros sites

Posta o link por favor, pois as vezes o problema é nas metatags ou head ou body não fechados ou até mesmo outra TAG, pelos erros deve ser um DIV mas é melhor com o link.

 

Só um dica, não precisa se preocupar, mas é boa.

Só por que seu site valida no W3C não significa que ele seja SEMANTICO(é apenas uma critica construtiva).

 

Estou tentando analizar o codigo que você passou.

Compartilhar este post


Link para o post
Compartilhar em outros sites

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.