• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. JavaScript API Reference > DocumentFragment

Name

DocumentFragment

Description

DocumentFragment inherits the methods and properties of Node, and defines no new method or properties of its own. It has one important behavior, however: when a DocumentFragment is inserted into a document tree, it is not the DocumentFragment node itself that is inserted, but the children of the DocumentFragment. This makes DocumentFragment useful as a temporary placeholder for nodes you want to insert, all at once, into a document.

See Also

Document.createDocumentFragment( )


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint