DocumentType

EventTargetNodejs.html.DocumentType (extern class)

The DocumentType interface represents a Node containing a doctype.

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

See:

Instance Members

name: String

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


publicId: String

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


systemId: String

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


before(nodes: haxe.extern.Rest): Void
Name Type
nodes haxe.extern.Rest

after(nodes: haxe.extern.Rest): Void
Name Type
nodes haxe.extern.Rest

replaceWith(nodes: haxe.extern.Rest): Void
Name Type
nodes haxe.extern.Rest

remove(): Void