Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

Each TIDY_TAG_* represents a HTML tag. For example, TIDY_TAG_A represents a "<a href="XX">link</a>" tag.

tidy nodetype constants
TIDY_TAG_UNKNOWN (int)
TIDY_TAG_A (int)
TIDY_TAG_ABBR (int)
TIDY_TAG_ACRONYM (int)
TIDY_TAG_ADDRESS (int)
TIDY_TAG_ALIGN (int)
TIDY_TAG_APPLET (int)
TIDY_TAG_AREA (int)
TIDY_TAG_ARTICLE (int)
Added in libtidy 5.0.0. Available as of PHP 7.4.0.
TIDY_TAG_ASIDE (