1 2 3 4 5 6 7
| # Error Line 18, Column 92: an attribute value must be a literal unless it contains only name characters.
moons</h3><p>flux rss<a href=news.php?"news"="53">Lire la suite</a></p></div>
✉
You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary. |
Partager