createDocumentFragment

The createDocumentFragment JS Document returns a DocumentFragment node.

Syntax

documentFragment = document.createDocumentFragment()

Examples

1

2

3

4

adoptNode

characterSet

compatMode

contentType

createCDATASection

createComment

createElement

createElementNS

createProcessingInstruction

createTextNode

doctype

Document

documentElement

documentURI

exitPictureInPicture

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

implementation

importNode

pictureInPictureEnabled

URL

write

writeln

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu