HTMLBaseElement
HTMLBaseElement
接口包含一份 HTML 文件的基础 URI 设定,该对象继承了所有 HTMLElement
接口中定义的方法与属性。
属性
继承了其父级 HTMLElement
的所有属性。
HTMLBaseElement.href
HTMLBaseElement.target
(en-US)-
Is a
DOMString
that reflects thetarget
HTML attribute, containing a default target browsing context or frame for elements that do not have a target reference specified.
方法
没有特殊的方法,继承了其父级 HTMLElement
的所有特性。
规范
Specification |
---|
HTML Standard # htmlbaseelement |
浏览器兼容性
BCD tables only load in the browser
参见
- 实现了该接口的 HTML 元素:
<base>