ElementTagName Property
Gets or sets the tag name of the current HTML element.

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public string TagName { get; set; }

Property Value

Type: String
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.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is an empty string.
Remarks
Tag names are case-insensitive.
Examples
The example is available in Element(String) topic.
See Also