# The DOMElement class

&reftitle.classsynopsis;

         DOMElement

         extends
         DOMNode

         implements
         DOMParentNode

         DOMChildNode

        &InheritedConstants;

        &Properties;

         public
         readonly
         string
         tagName

         public
         string
         className

         public
         string
         id

         public
         readonly
         mixed
         schemaTypeInfo

         public
         readonly
         DOMElementnull
         firstElementChild

         public
         readonly
         DOMElementnull
         lastElementChild

         public
         readonly
         int
         childElementCount

         public
         readonly
         DOMElementnull
         previousElementSibling

         public
         readonly
         DOMElementnull
         nextElementSibling

        &InheritedProperties;

        &Methods;

        &InheritedMethods;

&reftitle.properties;

`childElementCount`

- The number of child elements.

`firstElementChild`

- First child element or &null;.

`lastElementChild`

- Last child element or &null;.

`nextElementSibling`

- The next sibling element or &null;.

`previousElementSibling`

- The previous sibling element or &null;.

`schemaTypeInfo`

- Not implemented yet, always return &null;

`tagName`

- The element name

`className`

- A string representing the classes of the element separated by spaces

`id`

- The element ID

&reftitle.changelog;

&Version; | &Description;
8.0.0 | The `firstElementChild`, `lastElementChild`, `childElementCount`, `previousElementSibling`, and `nextElementSibling` properties have been added.
8.0.0 | `DOMElement` implements DOMParentNode and DOMChildNode now.

&reftitle.notes; &dom.note.utf8;
&reference.dom.entities.domelement;