An enum for all the tags defined in the HTML5 standard. These correspond to
the tag names themselves. Enum constants exist only for tags which appear in
the spec itself (or for tags with special handling in the SVG and MathML
namespaces); any other tags appear as GUMBO_TAG_UNKNOWN and the actual tag
name can be obtained through original_tag.
This is mostly for API convenience, so that clients of this library don't
need to perform a strcasecmp to find the normalized tag name. It also has
efficiency benefits, by letting the parser work with enums instead of
strings.
An enum for all the tags defined in the HTML5 standard. These correspond to the tag names themselves. Enum constants exist only for tags which appear in the spec itself (or for tags with special handling in the SVG and MathML namespaces); any other tags appear as GUMBO_TAG_UNKNOWN and the actual tag name can be obtained through original_tag.
This is mostly for API convenience, so that clients of this library don't need to perform a strcasecmp to find the normalized tag name. It also has efficiency benefits, by letting the parser work with enums instead of strings.