Return the first H1 element that appears in an iframe:
The importNode() method imports a node from another document.
The imported node can be of all node types.
Read more about node types in our NodeType object reference.
If the second parameter is set to true, the nodes's child nodes will also be imported.
The importNode() method is supported in all major browsers.
Note: Internet explorer 8 and earlier does not support this method.
|deep||Boolean||Required. If set to false, only the node itself is imported, if set to true, all child nodes (descendants) are also imported|
|Node object||The imported node|
|DOM Version||Core Level 2|
Your message has been sent to W3Schools.