Tema: XHTML strict
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/03/2006, 06:47
Avatar de Javiglez
Javiglez
 
Fecha de Ingreso: marzo-2006
Ubicación: Valladolid
Mensajes: 496
Antigüedad: 18 años, 1 mes
Puntos: 0
XHTML strict

Hola, he testeado mi pagina en w3c para ver si estaba correcta en XHTML strict y me da este fallo en una linea que llamo al archivo js de que el atributo language no lo conoce, alguien me puede decir como se llama al archivo js en XHTML scritc, el fallo es este.

Error Line 6 column 17: there is no attribute "language".
<script language="javaScript" type="text/javaScript"
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


Y he tenido que quitar el atributo scroll de la etiqueta body porque tampoco deja y ponerlo en el css como body {overflowoverflow-x:hidden;overflow-y:hidden; } pero no me lo quita y no se que poner.

Si alguien sabe gracias de antemano.