New W3C Warning about self-closing tags - What to do?
Suddenly all my HTML docs are receiving multiple warnings when I run W3C Validation...
"Self-closing tag syntax in text/html documents is widely discouraged; it’s unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you’re using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool."
All the sources I have learned from, including W3Schools, follow this "bad practice". So how come this has suddenly become a problem?
Can the error be suppressed in the W3C Validator? Can anyone suggest a tool which will go through my 1,000's of lines of code and fix all these self-closed tags?
I could try to ignore it but the validation reports are so full of this that it's hard to spot the errors and warnings that do "matter".
