开发者

HTML accesskey attribute

开发者 https://www.devze.com 2023-01-23 23:40 出处:网络
What does this mean: \"the v开发者_开发技巧alue must be an ordered set of unique space-separated tokens\"? It means that the attribute:

What does this mean: "the v开发者_开发技巧alue must be an ordered set of unique space-separated tokens"?


It means that the attribute:

  • can accept multiple keys
  • each key name (token) may not contain spaces
  • a space must come between each key name
  • you shouldn't use the same key name twice
  • the order of the keys is important

I think accesskey in HTML 4 can only accept a single key character, but there is a proposal in HTML 5 for it to accept multiple characters (tokens) so if a device does not have a key for the first character specified it can bind the element to the next, and so on.

0

精彩评论

暂无评论...
验证码 换一张
取 消