Returns true if a tag is supposed to be self-closing in HTML 4 or required to be self-closing in XHTML 1.0.
The complete list of self-closing tags is: area, base, basefont, br, col, frame, hr, img, input, isindex, link, meta, param.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean isselfclosing(string tagName)

Parameters

Name Data Type Description
tagName String Tag name.

Return Value

Data Type Description
Boolean True if self closing; otherwise, false.
SXML