method
allowsElement

bool allowsElement(
Element element
)

Returns true if the tagName is an accepted type.