1# Interface: Document 2 3### Properties 4 5* [childNodes](#childnodes) 6* [children](#children) 7* [firstChild](#firstchild) 8* [lastChild](#lastchild) 9* [name](#name) 10* [next](#next) 11* [nextSibling](#nextsibling) 12* [nodeType](#nodetype) 13* [parent](#parent) 14* [parentNode](#parentnode) 15* [prev](#prev) 16* [previousSibling](#previoussibling) 17* [type](#type) 18* [x-mode](#x_mode) 19 20--- 21 22## Properties 23 24<a id="childnodes"></a> 25 26### childNodes 27 28**● childNodes**: *Node[]* 29 30Same as [children](#children). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 31 32___ 33<a id="children"></a> 34 35### children 36 37**● children**: *Node[]* 38 39Child nodes. 40 41___ 42<a id="firstchild"></a> 43 44### firstChild 45 46**● firstChild**: *Node* 47 48First child of the node. 49 50___ 51<a id="lastchild"></a> 52 53### lastChild 54 55**● lastChild**: *Node* 56 57Last child of the node. 58 59___ 60<a id="name"></a> 61 62### name 63 64**● name**: *"root"* 65 66The name of the node. 67 68___ 69<a id="next"></a> 70 71### next 72 73**● next**: *Node* 74 75Next sibling. 76 77___ 78<a id="nextsibling"></a> 79 80### nextSibling 81 82**● nextSibling**: *Node* 83 84Same as [next](#next). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 85 86___ 87<a id="nodetype"></a> 88 89### nodeType 90 91**● nodeType**: *`number`* 92 93[DOM spec](https://dom.spec.whatwg.org/#dom-node-nodetype)-compatible node [type](#type). 94 95___ 96<a id="parent"></a> 97 98### parent 99 100**● parent**: *Node* 101 102Parent node. 103 104___ 105<a id="parentnode"></a> 106 107### parentNode 108 109**● parentNode**: *Node* 110 111Same as [parent](#parent). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 112 113___ 114<a id="prev"></a> 115 116### prev 117 118**● prev**: *Node* 119 120Previous sibling. 121 122___ 123<a id="previoussibling"></a> 124 125### previousSibling 126 127**● previousSibling**: *Node* 128 129Same as [prev](#prev). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 130 131___ 132<a id="type"></a> 133 134### type 135 136**● type**: *"root"* 137 138The type of the node. 139 140___ 141<a id="x_mode"></a> 142 143### x-mode 144 145**● x-mode**: *"no-quirks" | "quirks" | "limited-quirks"* 146 147[Document mode](https://dom.spec.whatwg.org/#concept-document-limited-quirks). 148 149___ 150 151