[XHTML] Problème de validation avec javascript
Bonjour, je n'arrive pas à comprendre et résoudre ce message d'erreur :(
Citation:
# Error Line 53, Column 15: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.
<script defer type="text/javascript" src="scrollertxt.js"></script>
✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.
How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
J'ai bien cherché sur google, mais rien trouver pour corriger sa et ce que je trouve me semble correcte avec ce que j'ai.
Quelqu'un à une idée ?