Problemas de validación W3C: soluciones para errores comunes

hismael Seguir

Curioso
Verificación en dos pasos desactivada
Desde
29 Nov 2014
Mensajes
1
Buenas tardes.

Estoy corrigiendo unos errores en W3C validator y estoy como loco de como solucionar estos problemas:

Línea 4, Columna 32 : la cabeza del elemento que falta una instancia necesaria de título del elemento hijo.
<Meta charset = "UTF-8">

Línea 4, Columna 32 : Elemento charset no permitido como hijo del cuerpo del elemento en este contexto. (Supresión más errores de este subárbol.)
<Meta charset = "UTF-8">

Línea 5, Columna 81 : Un elemento meta con un atributo http-equiv cuyo valor es X-UA-Compatible debe tener un atributo de contenido con el valor IE = borde.
... <Meta http-equiv = "X-UA-Compatible" content = "IE = orilla, cromo = 1" / >

Línea 258, Columna 7 : cabeza etiqueta final callejero.
</ Head >

Línea 261, Columna 114 : cuerpo Etiqueta inicial visto sino un elemento del mismo tipo ya estaba abierta.
... No_js ge-padre-página plantilla de página-template-home page-template-casa-php en caja " >

Línea 261, Columna 114 : No se puede recuperar después del último error. Se ignorará cualquier errores adicionales.
... No_js ge-padre-página plantilla de página-template-home page-template-casa-php en caja " >

Ahora os muestros como lo tengo yo en la plantilla:

<!DOCTYPE html>
<html lang="es" xml:lang="es" xmlns="http://www.w3.org/1999/xhtml">
<Head>
<Charset meta = "UTF-8">
<Meta http-equiv = "X-UA-Compatible" content = "IE = orilla, cromo = 1"/>
<Title> Nombre de mi pagina </ title>
</Head>
<!--[if IE 6]>
<html id="ie6" class="ie"<?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->
<!--[if IE 7]>
<html id="ie7" class="ie"<?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->
<!--[if IE 8]>
<html id="ie8" class="ie"<?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->
<!--[if IE 9]>
<html id="ie9" class="ie"<?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->

<!-- This doesn't work but i prefer to leave it here... maybe in the future the MS will support it... i hope... -->
<!--[if IE 10]>
<html id="ie10" class="ie"<?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->

<!--[if gt IE 9]>
<html class="ie"<?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->

<!--[if !IE]>
<html <?php language_attributes() ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:eek:g="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<![endif]-->

Espero que me ayudeis porque estoy ya bastante desesperado.

Gracias y un saludo.
 

¡Regístrate y comienza a ganar!

Beneficios

  • Gana dinero por participar
  • Gana dinero por recomendarnos
  • Descubre ofertas de empleo diariamente
  • Negocios seguros
  • ¡Información premium y más!

Acceder

¿Ya tienes una cuenta? Accede aquí

Arriba