
Checks for preceding and trailing whitespace characters of the text content of certain elements like "a" and "title".




nreiter wrote:I also got that white space message on several a tags but there was no white space in the text.
Example:
<a title="Web Analytics" href="http://getclicky.com/xxxxx">
This line had error 118 yet there is no white space at the start of the text.



nreiter wrote:I think I found the problem. The a tag was split into 2 lines with a CRLF. When I combined them, the error went away.
nreiter wrote:Is splitting the tag into multiple lines really an error?



nreiter wrote:What confused me was the error message reference to "text content" which implied, to me, inside the quotes. As there was none, I couldn't understand why the error was coming up.
nreiter wrote:I thought white space was just ignored in HTML unless it was in a character string (between quotes). My HTML knowledge is still minimal, but I'm learning



nreiter wrote:Yes, "link text" might be a better choice of words.



nreiter wrote:Or see why the warning is coming up when there is actually no white space in the text.



Users browsing this forum: No registered users and 3 guests