standard.lib.xml.htmlElementStatusHere

htmlElementStatusHere is available since version 1.0.

Prototype:

number htmlElementStatusHere(number parent, number elt)

Parameters

parent
HTML parent element
elt
the element

Description:

Checks whether an HTML element may be a direct child of a parent element, and if so whether it is valid or deprecated.

Return value:

Returns one of HTML_VALID, HTML_DEPRECATED, HTML_INVALID