A base class for any node in an HTML tree.
An HTML element without content is called an empty node. It has a start tag but neither a content nor an end tag. It has only attributes.
The BaseNode() class is a base class for any of these HTML elements. It is intended to be overridden.