Correctly handling an element’s child elements is crucial for keeping the element hierarchy organized. These Element methods let you retrieve and insert child elements, offering programmatic ways to change page structure.

To effectively use these methods, check if an element has its Children property set to true. This property is read-only, so it’s important to use elements that have this attribute. Using these methods with elements that don’t have this property will return an error.

Methods

The Children property supports the following methods:

Built with