View source
class HTMLDocument
package js.html
extends Document › Node › EventTarget
Available on js
HTMLDocument
is an abstract interface which extends the Document
interface to add HTML-specific features to the document object. It represents the root of the HTML document, within which its entire DOM hierarchy resides.
Documentation HTMLDocument by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
Methods
inlinecreateTableCaptionElement():TableCaptionElement
Shorthand for creating an HTML <caption>
element.
inlinecreateTableSectionElement():TableSectionElement
Shorthand for creating an HTML <thead>
element.
open(url:String, name:String, features:String, replace:Bool = false):Window
open(?type:String, replace:String = ""):HTMLDocument
Throws:
null |
DOMError |
---|