Create an HtmlAttribute from an AttrPair.
Check if this pair was created from a user-defined attribute.
Checks if the type of this pair's value is one of the types defined by the actual attribute.
See Implementation