A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/DocumentType below:

DocumentType - Web APIs | MDN

DocumentType

Baseline Widely available

The DocumentType interface represents a Node containing a doctype.

EventTarget Node DocumentType Instance properties

Inherits properties from its parent, Node.

DocumentType.name Read only

The type of the document. It is always "html" for HTML documents, but will vary for XML documents.

DocumentType.publicId Read only

A string with an identifier of the type of document. Empty if the doctype given specifies no public ID.

DocumentType.systemId Read only

A string containing the URL to the associated DTD. Empty if the doctype given specifies no system ID.

Instance methods

Inherits methods from its parent, Node.

DocumentType.after()

Inserts a set of Node objects or strings in the children list of the object's parent, just after this node.

DocumentType.before()

Inserts a set of Node objects or strings in the children list of the object's parent, just before this node.

DocumentType.remove()

Removes this object from its parent children list.

DocumentType.replaceWith()

Replaces the document type with a set of given nodes.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3