The getOpenTag()
method returns the opening tag of the current element, including any necessary attributes.
If the element is a void element, the returned tag will be self-closed with a slash.
Description
public ElementNode::getOpenTag(): string
Parameters
None
Return Value
Returns a string
representing the opening tag of the element. For void elements, the tag is self-closed.
Exceptions
None