DocumentType

package js.html

extends Node › EventTarget

Available on js

The DocumentType interface represents a Node containing a doctype.

Documentation DocumentType by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

read onlyname:String

A DOMString, eg "html" for !DOCTYPE HTML.

read onlypublicId:String

A DOMString, eg "-//W3C//DTD HTML 4.01//EN", empty string for HTML5.

read onlysystemId:String

A DOMString, eg "http://www.w3.org/TR/html4/strict.dtd", empty string for HTML5.

Methods

after(nodes:Rest<Node>):Void

after(nodes:Rest<String>):Void

Throws:

null

DOMError

before(nodes:Rest<Node>):Void

before(nodes:Rest<String>):Void

Throws:

null

DOMError

remove():Void

replaceWith(nodes:Rest<Node>):Void

replaceWith(nodes:Rest<String>):Void

Throws:

null

DOMError