⬆️ ⬇️

W3C Validator will report typos

The most common mistake when a document is checked by an official W3C validator is the use of a non-existent attribute, while users see the message “There is no attribute X” or “Required attribute X not specified”.



Probably, a large percentage of such errors are due to the slip. Now, the test version of the W3C validator contains support for recognizing obvious typos, with a suggestion to correct them. It works like a typo fix in the search engines, for example, as a result, the message “There is no attribute 'crass' can be displayed. Maybe you meant 'class' or 'classid'? "



Example:

image

')

Thus, the validator should facilitate the correction of the code in order to comply with greater validity ( W3C Systems Team Blog ).

Source: https://habr.com/ru/post/52202/



All Articles