Results 1 to 2 of 2
Thread: HTML Validation Tool
Apr 27, 2009, 08:24 #1
- Join Date
- Apr 2009
- 0 Post(s)
- 0 Thread(s)
HTML Validation Tool
It seems that the W3 HTML Validation Tool doesn't like my youtube links:
Line 73, Column 58: cannot generate system identifier for general entity "feature"
I tried putting in backslashes:
However, I keep on getting these same errors in numerous locations.
Is the second <a href="..."> above correct?
Should I put backslashes in likewise with all such links?
Apr 27, 2009, 08:29 #2
- Join Date
- Aug 2007
- 47 Post(s)
- 1 Thread(s)
The errors you are getting with the = sign are bogus-- the real culprit is the &. Change it into a character entity and you're good-- the = errors will vanish.
& amp ; without spaces. Yes, you'll have to do this manually, unless you have a back-end script to regex through links and replace them for you. Browsers and other user agents already know to automatically retranslate those back to &'s again.
Any other errors with characters from the validator mean, not to comment them out with slashes but to use character entities (because it cannot tell when you want to use a reserved character like > in your cdata/content, and when you mean to use it for its special meaning like <a tag>).