html文档提到:
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
但似乎没说到id本身能够有多长?
|
|
html文档提到:
但似乎没说到id本身能够有多长? |
||
|
|
|
|
刚刚测试过,含有1M字节的id在Chrome1, FF3, IE7, Konqueror3, Opera9, Safari3都正常work。 初步怀疑更长的id应该不容易记忆。 |
||
|
|