Tema: Validar esto
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/09/2007, 16:18
Avatar de derkenuke
derkenuke
Colaborador
 
Fecha de Ingreso: octubre-2003
Ubicación: self.location.href
Mensajes: 2.665
Antigüedad: 21 años, 3 meses
Puntos: 45
Re: Validar esto

Hola Borjimante.

¿Validar? ¿Validar dónde? ¿Cómo?

Si te refieres a validar el documento en la w3, ésto me ha dado como válido:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<
head>
<
meta http-equiv="Content-type" content="text/html;charset=iso-8859-1" />
<
meta name="Author" content="derkeNuke" />
<
title>Página nueva</title>
<
style type="text/css">

</
style>
</
head>

<
body onload="document.write('Hola mundo!');">


</
body>
</
html

Y respecto a tu segunda consulta, también me ha dado por válido ésto:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<
head>
<
meta http-equiv="Content-type" content="text/html;charset=iso-8859-1" />
<
meta name="Author" content="derkeNuke" />
<
title>Página nueva</title>
<
style type="text/css">

</
style>
</
head>

<
body>

<
a href="http://www.google.com">
<
img src="http://www.forosdelweb.com/fdwtheme/images/buttons/reputation.gif" class="img-nor" id="foto" style="filter:blendTrans(duration=3)" alt="" />
</
a>

</
body>
</
html
Pero te advierto que filter es una propiedad CSS únicamente de microsoft, y que sólo funcionará en sus navegadores. Además su validación CSS será incorrecta:
Cita:
Iniciado por css validation service (w3)
.img-nor Error de análisis sintáctico - duration=3)

Si no es eso a lo que te referías, explícate un poco mejor por favor.

Un saludo.
__________________
- Haz preguntas inteligentes, y obtendrás más y mejores respuestas.
- Antes de postearlo Inténtalo y Búscalo.
- Escribe correctamente tus mensajes.