W3C home > Mailing lists > Public > www-validator@w3.org > January 2011

Re: Question

From: Philip Taylor (Webmaster, Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 21 Jan 2011 16:43:16 +0000
Message-ID: <4D39B7A4.3070209@Rhul.Ac.Uk>
To: "historysoul@earthlink.net" <historysoul@earthlink.net>
CC: www-validator@w3.org
If, rather than removing the leading underscore, you
were to prefix it with (e.g.,) "ID", I think that all
should be well.

Philip Taylor
historysoul@earthlink.net wrote:
> Hi. Upon validating, the error messages that come up repeatedly are:
> /value of attribute "ID" invalid: "_" cannot start a name
> <img id="//*_*20s_30s">
> It is possible that you violated the naming convention for this
> attribute. For example, id and name attributes must begin with a letter,
> not a digit.
> /I'm assuming this means I cannot have the underscore in front of the
> number, but when trying to remove it, I then get an error that it cannot
> begin with a number. Also in the HTML tidy version, it gives me the same
> thing as I had.
> Id appreciate any help with a solution, this is all that needs fixing
> according to the validator.
> Thank you!

Not sent from my i-Pad, i-Phone, Blackberry, Blueberry, or any
such similar poseurs' toy, none of which would I be seen dead
with even if they came free with every packet of cornflakes.
Received on Friday, 21 January 2011 16:43:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:20 UTC