
Problema validación XHTML 1.1
Publicado por anonymous (2 intervenciones) el 16/11/2018 11:15:37
Cuando intento validar un html aplicando el xhtml 1.1 Strict,me salta siempre el mismo error:
https://validator.w3.org/#validate_by_upload
Warning DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.1" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.
Mi código es el siguiente:
¿Alguien puede corregirme este warning?
https://validator.w3.org/#validate_by_upload
Warning DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.1" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.
Mi código es el siguiente:
1
2
3
4
5
6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
¿Alguien puede corregirme este warning?
Valora esta pregunta


0