[thelist] What's the reasoning behind not starting IDs with a number?

Lee kowalkowski lee.kowalkowski at googlemail.com
Thu Jan 11 04:01:33 CST 2007

On 11/01/07, Will Mo <willthemoor at gmail.com> wrote:
> So then, do tell.  Just what's the matter with an ID of "12-06" (month-year
> in this case).

If you're talking about HTML id attributes, the HTML specification
says they must start with a letter (a-z) and only contain
alphanumerics, hyphens, underscores, colons and periods.

Of course, certain browsers may be more tolerant.


More information about the thelist mailing list