HTMLMapElement:name 属性
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
HTMLMapElement 的 name 属性表示 <map> 元素的唯一名称。它的值可以与 <img> 元素的 useMap 属性一起使用,以引用 <map> 元素。
如果 <map> 元素设置了 id 属性,则 name 属性应该与其 id 属性相同。