
## create_document_fragment {#}

Creates a new empty [`DocumentFragment`](/html/python-net/aspose.html.dom/documentfragment) into which DOM nodes can be added to build an offscreen DOM tree.


### Returns 


The [`DocumentFragment`](/html/python-net/aspose.html.dom/documentfragment).


```python
def create_document_fragment(self):
    ...
```





### See Also
* module [`aspose.html.dom`](../../)
* class [`Document`](/html/python-net/aspose.html.dom/document)
* class [`DocumentFragment`](/html/python-net/aspose.html.dom/documentfragment)
