Gets or sets the tag name of the current HTML element.
A string name of the current HTML tag or a null reference (Nothing in Visual Basic) if the current Element object represents a plain-text block rather than a tag.
Tag names are case-insensitive.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is an empty string. |
The example is available in Element topic.
Element Class | MailBee.Html Namespace