last_child property

last_child property

Returns the last child of the node. If its parent is an element, then the child is generally an element node, a text node, or a comment node. It returns null if there are no child elements

Remarks

Reference:

DOM Standard.

Definition:

@property
def last_child(self):
    ...

See Also