Foros del Web » Creando para Internet » HTML »

validator W3...

Estas en el tema de validator W3... en el foro de HTML en Foros del Web. Holas una duda q DTD HTML 4.01 DTD HTML 4.01 Transitional etc http://validator.w3.org/ es compatible con los contadores como http://www.ademails.com/ u otros o sea cual ...
  #1 (permalink)  
Antiguo 19/11/2005, 14:42
 
Fecha de Ingreso: julio-2005
Mensajes: 58
Antigüedad: 18 años, 9 meses
Puntos: 0
validator W3...

Holas una duda q

DTD HTML 4.01
DTD HTML 4.01 Transitional
etc

http://validator.w3.org/

es compatible con los contadores como http://www.ademails.com/ u otros

o sea cual de todos permitiria ese tipo de sintaxis para q no de errores de validacion?

Edito: Se puede hacer compatible el contador de ademails con <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ???


Saludos Gracias

Última edición por klisto; 19/11/2005 a las 21:39
  #2 (permalink)  
Antiguo 20/11/2005, 19:09
Avatar de webosiris
Moderador egiptólogo
 
Fecha de Ingreso: febrero-2002
Ubicación: Luxor, Egipto
Mensajes: 10.725
Antigüedad: 22 años, 2 meses
Puntos: 998
... y cual sería este código... ¿qué errores te dá?
__________________
Pasamos tus PSD a HTML

Pobre del que lo sabe todo, porque no tiene nada más que aprender ni razón para vivir. -
  #3 (permalink)  
Antiguo 20/11/2005, 22:43
 
Fecha de Ingreso: julio-2005
Mensajes: 58
Antigüedad: 18 años, 9 meses
Puntos: 0
Este error me sale:


Error Line 25 column 24: required attribute "ALT" not specified.
<noscript><img src=http://www.ademails.com/cgi-bin/contador.cgi?ID=1059887681 bo
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.



Error Line 25 column 120: end tag for element "A" which is not open.
...r=0 alt="Estadisticas"></noscript></a>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.


y no se como solucionarlo ´porq no entiendo ingles!
  #4 (permalink)  
Antiguo 21/11/2005, 01:39
Avatar de JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola klisto

El primer error es porque la etiqueta img no tiene el atributo alt:

<noscript><img alt="algo" src=http://www.ademails.com/...

El segundo parece que es porque hay un cierre de etiqueta </a> que no tiene etiqueta de apertura <a>

Si pones el código que usas será más fácil ver donde está el error.

Saludos,
  #5 (permalink)  
Antiguo 21/11/2005, 08:01
 
Fecha de Ingreso: julio-2005
Mensajes: 58
Antigüedad: 18 años, 9 meses
Puntos: 0
Holas!

Gracias javier. el codigo es

<a href=http://www.ademails.com/estadisticas1054837681.htm>
<script type="text/javascript" language="JavaScript">
<!--
document.write("<img src=\"http://www.ademails.com/cgi-bin/contador.cgi?ID=1059887681");
document.write("&referer=");
document.write(escape(document.referrer));
document.write("\" border=0 alt=\"Estadisticas\">");
// -->
</script><noscript><img src=http://www.ademails.com/cgi-bin/contador.cgi?ID=1059887681 border=0 alt="Estadisticas"></noscript></a>


Tendria q poner el atributo al en <noscript><img ... aqui, y adelante de <noscript> el <a> eso voy a intentar ahora a ver q tal.

saludos! y gracias
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 20:20.