HTMLBaseElement
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
的所有特性。
Specifications
Specification |
---|
HTML Standard # htmlbaseelement |
Browser compatibility
BCD tables only load in the browser
See also
- HTML element implementing this interface:
<base>