ElementNode::getTagName

The getTagName() method returns the name of the tag in the form of an uppercase string, such as "DIV", "SPAN", or any valid HTML/XML tag.

Description

public ElementNode::getTagName(): string

Parameters

None

Return Value

Returns a string representing the name of the tag for this element node.

Exceptions

None

Source Code
If you find this project useful, consider leaving a on GitHub! Thank you!