HTMLBaseElement

 

HTMLBaseElement 接口包含一份 HTML 文件的基础 URI 设定,该对象继承了所有 HTMLElement 接口中定义的方法与属性。

HTMLBaseElement()

继承层次

Object.prototype
 Function.prototype
  EventTarget
   Node
    Element
     HTMLBaseElement

构造函数

程序不能直接调用该构造函数,否则将会产生异常。

属性列表

属性说明
--

方法列表

语法说明
--

HTMLBaseElement.prototype

继承层次

Object.prototype
 EventTarget.prototype
  Node.prototype
   Element.prototype
    HTMLBaseElement.prototype

属性列表

继承了其父级 HTMLElement 的所有属性。

属性说明
href映射自 DOMString HTML href 特性,包含了当前文档中所有相对 URL 地址的基准URL。
target包含一个 DOMString 默认目标反映了target HTML 属性,浏览上下文或帧不具有指定的目标引用的元素。

方法列表

没有特殊的方法,继承了其父级 HTMLElement 的所有特性。

语法说明
--

HTMLBaseElement实例

Object.prototype
 EventTarget.prototype
   Node.prototype
    Element.prototype
     HTMLBaseElement.prototype
      <base> 元素

参考