HTMLBaseElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
HTMLBaseElement
接口包含一份 HTML 文件的基础 URI 设定,该对象继承了所有 HTMLElement
接口中定义的方法与属性。
属性
继承了其父级 HTMLElement
的所有属性。
HTMLBaseElement.href
HTMLBaseElement.target
-
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 # htmlbaseelement |
浏览器兼容性
Report problems with this compatibility data on GitHubLegend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 实现了该接口的 HTML 元素:
<base>