# Interface: Element ### Properties * [attribs](#attribs) * [childNodes](#childnodes) * [children](#children) * [firstChild](#firstchild) * [lastChild](#lastchild) * [name](#name) * [namespace](#namespace) * [next](#next) * [nextSibling](#nextsibling) * [nodeType](#nodetype) * [parent](#parent) * [parentNode](#parentnode) * [prev](#prev) * [previousSibling](#previoussibling) * [sourceCodeLocation](#sourcecodelocation) * [tagName](#tagname) * [type](#type) * [x-attribsNamespace](#x_attribsnamespace) * [x-attribsPrefix](#x_attribsprefix) --- ## Properties ### attribs **● attribs**: *`object`* Element attributes. #### Type declaration [name: `string`]: `string` ___ ### childNodes **● childNodes**: *Node[]* Same as [children](#children). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. ___ ### children **● children**: *Node[]* Child nodes. ___ ### firstChild **● firstChild**: *Node* First child of the node. ___ ### lastChild **● lastChild**: *Node* Last child of the node. ___ ### name **● name**: *`string`* The name of the node. Equals to element [tagName](#tagname). ___ ### namespace **● namespace**: *`string`* Element namespace. ___ ### next **● next**: *Node* Next sibling. ___ ### nextSibling **● nextSibling**: *Node* Same as [next](#next). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. ___ ### nodeType **● nodeType**: *`number`* [DOM spec](https://dom.spec.whatwg.org/#dom-node-nodetype)-compatible node [type](#type). ___ ### parent **● parent**: *Node* Parent node. ___ ### parentNode **● parentNode**: *Node* Same as [parent](#parent). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. ___ ### prev **● prev**: *Node* Previous sibling. ___ ### previousSibling **● previousSibling**: *Node* Same as [prev](#prev). [DOM spec](https://dom.spec.whatwg.org)-compatible alias. ___ ### `` sourceCodeLocation **● sourceCodeLocation**: *[ElementLocation](../../parse5/docs/element-location.md)* Element source code location info. Available if location info is enabled via [ParserOptions](../../parse5/docs/parser-options.md). ___ ### tagName **● tagName**: *`string`* Element tag name. ___ ### type **● type**: *`string`* The type of the node. E.g. [Document](document.md) will have `type` equal to 'root'`. ___ ### x-attribsNamespace **● x-attribsNamespace**: *`object`* Element attribute namespaces. #### Type declaration [name: `string`]: `string` ___ ### x-attribsPrefix **● x-attribsPrefix**: *`object`* Element attribute namespace-related prefixes. #### Type declaration [name: `string`]: `string` ___