Foros del Web » Creando para Internet » HTML »

validar html5 en xhtml

Estas en el tema de validar html5 en xhtml en el foro de HTML en Foros del Web. Señores. Como valido los metadatos que me da el Google +1 que parece estar para html5 en mi xtml. aqui los metadatos que estan en ...
  #1 (permalink)  
Antiguo 30/10/2012, 10:38
Avatar de sgardes  
Fecha de Ingreso: octubre-2012
Mensajes: 20
Antigüedad: 11 años, 6 meses
Puntos: 0
validar html5 en xhtml

Señores. Como valido los metadatos que me da el Google +1 que parece estar para html5 en mi xtml.
aqui los metadatos que estan en el <head>

<meta itemprop="name" content="xxxxx"/>
<meta itemprop="description" content="xxxx"/>
<meta itemprop="image" content="xxxx"/>

Bien recibidas sus respuestas, soluciones, comentarios.

Gracias de antemano
  #2 (permalink)  
Antiguo 30/10/2012, 13:44
Avatar de pzin
Moderata 😈
 
Fecha de Ingreso: julio-2002
Ubicación: Islas Canarias
Mensajes: 10.488
Antigüedad: 21 años, 9 meses
Puntos: 2114
Respuesta: validar html5 en xhtml

Prueba a usar este DOCTYPE.

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict with HTML5 microdata//ES" "xhtml1-strict-with-html5-microdata.dtd">

También puedes usar un DOCTYPE transitional. La cuestión es usar microdatos de HTML5 en XHTML.
  #3 (permalink)  
Antiguo 31/10/2012, 08:55
Avatar de sgardes  
Fecha de Ingreso: octubre-2012
Mensajes: 20
Antigüedad: 11 años, 6 meses
Puntos: 0
Respuesta: validar html5 en xhtml

Gracias por el aporte Bonez.
Pero no ha funcionado
W3C no lo toma como valido, aqui su respuesta al intentar validar la pagina index.html con tu codigo en primera linea.

Fatal Error: cannot find "xhtml1-strict-with-html5-microdata.dtd"; tried

I could not parse this document, because it makes reference to a system-specific file instead of using a well-known public identifier to specify the type of markup being used.

You should place a DOCTYPE declaration as the very first thing in your HTML document. For example, for a typical XHTML 1.0 document:

Etiquetas: html5, xhtml
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:30.