checkStyle() (tick_24Validator Engine Only)

void checkStyle(int $flags);

$flags

1 - [for HTML elements] check the "style" attribute value if style checking is enabled; if there is no "style" attribute in the current tag then this function does nothing.

2 - check the style declarations contained in the tag; use this only in an end tag name program like the end tag name program for the "script" element.

4 - [for SVG elements] check the "style" attribute value if style checking is enabled; if there is no "style" attribute in the current tag then this function does nothing. (New v17.00)

This function does not do anything if style checking is not enabled.