Assert that a tag has specified properties
tagAssert(tag, type = NULL, class = NULL, allowUI = TRUE)A tag object.
The type of a tag, like "div", "a", "span".
An HTML class.
If TRUE (the default), allow dynamic outputs generated by
uiOutput or htmlOutput. When a
dynamic output is provided, tagAssert won't try to validate the the
contents.