HTML中ID与Name的命名规范
·
HTML中ID与Name的命名规范
http://www.w3.org/TR/html401/types.html#type-cdata中的规范规定是如下:
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 (".").
更多推荐
已为社区贡献3条内容
所有评论(0)