Fandom

HTMLDocument

648pages on
this wiki
Add New Page
Comments0 Share
Line of inheritance:
Object ⇒ Node ⇒ Document ⇒ HTMLDocument

PropertiesEdit

framesEdit

Data type HTMLCollection
Standard none
Documentation Microsoft

A list of all frame and iframe elements which this document contains.

formsEdit

Data type HTMLCollection
Standard DOM Level 2
Documentation Mozilla, Microsoft

A list of all form elements which this document contains.

MethodsEdit

getElementsByNameEdit

Data type function
Return type NodeList
Parameter list tagName (string)
Standard DOM Level 1, DOM Level 2
Documentation Mozilla, Microsoft

Finds every element in the document which has the specified name.

writeEdit

Data type function
Return type undefined
Parameter list markup (string)
Standard DOM Level 1, DOM Level 2
Documentation Mozilla, Microsoft

Puts the given HTML markup in the body tag. If the body is already fully loaded, the effect of this is equivalent to that of a simple assignment to <code>document.body.innerHTML</code>; otherwise, markup is appended to the body's contents.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.