standard.lib.xml.htmlIsAutoClosed

htmlIsAutoClosed is available since version 1.0.

Prototype:

boolean htmlIsAutoClosed(number doc, number elem)

Parameters

doc
the HTML document handle
elem
the HTML element

Description:

The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child.

Return value:

Returns true if autoclosed, false if not.