f.villalba
14-feb-2009, 17:59
Hola a todos,
Estoy codeando bajo xHTML 1.0 Strict con el código de caracteres UTF-8.
S.O. Windows XP Profesional 32 Bits SP3
Editor Programación: Notepad++ v5.0.3
El código es HTML embebido dentro de un archivo guardado en PHP para que se puedan ejecutar scripts.
Codificación del archivo UTF-8, lo podéis ver aquí.
http://img4.imageshack.us/img4/8404/codificacionqj9.jpg
Código del documento web HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Texto</title>
<link href="estilo.css" rel="stylesheet" type="text/css" />
</head>
<body id="portada">
DIVS y etc.
</div>
<div id="contenido">
</div>
<div id="pie">
</div>
</body>
</html>
Mensaje de advertencia del validador xHTML:
Passed, 1 warning(s)
Byte-Order Mark found in UTF-8 File.
The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
Gracias por adelantado.
Estoy codeando bajo xHTML 1.0 Strict con el código de caracteres UTF-8.
S.O. Windows XP Profesional 32 Bits SP3
Editor Programación: Notepad++ v5.0.3
El código es HTML embebido dentro de un archivo guardado en PHP para que se puedan ejecutar scripts.
Codificación del archivo UTF-8, lo podéis ver aquí.
http://img4.imageshack.us/img4/8404/codificacionqj9.jpg
Código del documento web HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Texto</title>
<link href="estilo.css" rel="stylesheet" type="text/css" />
</head>
<body id="portada">
DIVS y etc.
</div>
<div id="contenido">
</div>
<div id="pie">
</div>
</body>
</html>
Mensaje de advertencia del validador xHTML:
Passed, 1 warning(s)
Byte-Order Mark found in UTF-8 File.
The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
Gracias por adelantado.