Struct HTML::Tag

Nested Relationships

This struct is a nested type of Class HTML.

Struct Documentation

struct Tag

Represents a tag, or markup that is being applied to a string of text.

We treat all elements except ELEMENT as void elements or empty elements.

Public Types

enum NodeType

Values:

ELEMENT
VOID_ELEMENT
COMMENT
PROCESSING_INSTRUCTION
WHITESPACE

Public Members

NodeType type
std::string name
std::string attributes
std::string data