Properties[]
frames[]
Data type | HTMLCollection |
---|---|
Standard | none |
Documentation | Microsoft |
A list of all frame
and iframe
elements which this document contains.
forms[]
Data type | HTMLCollection |
---|---|
Standard | DOM Level 2 |
Documentation | Mozilla, Microsoft |
A list of all form
elements which this document contains.
Methods[]
getElementsByName[]
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.
write[]
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
; otherwise, markup is appended to the body's contents.
document.body
.innerHTML