|
Returns a pointer to the html
element, if present.
markup* document::html();1st Variety
const markup* document::html() const;2nd Variety
none
A pointer to the html
element, if present. If the html
element isn't present, returns NULL.
This operation is one of the more common operations in document
. This operation allows a very convienient way to access markup
objects in the html element in the document, and to add markup to the html as well. This function can also be called to check or
verify that the html
element exists. Normally, if the document is a root
document, the html
, head
, and body
element will be present, so there would be no reason to use the html()
operation to access the head
or body
elements, since they both have their own access functions, document::head() and document::body().
Constant