Gets or sets the tag definition of the current HTML element.
A string definition of the current HTML tag or a null reference (Nothing in Visual Basic) if this Element object represents a plain-text block rather than a tag.
The tag definition is a string inside angle brackets of the opening tag. For instance, if the entire tag is <script src="file.js"></script>, the tag definition is script src="file.js".
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is an empty string. |
Element Class | MailBee.Html Namespace