A node to represents an HTML element with attributes.
An HTML element without content is called an empty node. It has a start tag but neither a content nor an end tag. Compared to the parent class BaseNode, this class adds 2 members:
- the required element tag;
- its optional attributes.
For example, it can deal with elements like:
- <tag />
- <tag k=v />
- <tag k1=v2 k2=v2 k3 />