ConversionIsSelfClosingTag Method

Return a value indicating whether the specified tag name is self-closing.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static bool IsSelfClosingTag(
	string tagName
)

Parameters

tagName  String
Name of the tag to inspect.

Return Value

Boolean
True of the provided tag is self-closing. Otherwise, false.

See Also