Attr.prefix
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月.
Attr.prefix
为只读属性,返回指定标签属性的名字空间前缀,如果没有前缀则返回 null
。
备注:
在 DOM4 之前此 API 被定义在 Node
接口中。