Why the name of a element can not start with a digital letters?

S

SutterCreek

I know the w3c recommendation has the defination about that.
But, I am just curious, where does this restriction come from? What is
the purpose?

Thanks in advance.
 
P

Peter Flynn

SutterCreek said:
I know the w3c recommendation has the defination about that.
But, I am just curious, where does this restriction come from? What is
the purpose?

It's inherited from SGML, where it was the default.
In SGML, however, it would be possible to redefine your SGML Declaration
to allow digits as name start characters. In XML, the Declaration is
fixed and invariable, so you can't.

///Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top