DomParserSettings.isSelfClosingTag

Checks whether a specific tag is self-closing or not.

class DomParserSettings
final @safe
bool
isSelfClosingTag
(
string tagName
)

Parameters

tagName string

The name of the tag to validate.

Return Value

Type: bool

True if the tag is self-closing, false otherwise.

Meta