Gambas Documentation - /comp/gb.xml.html/htmldocument

/comp/gb.xml.html/htmldocument

# HtmlDocument (gb.xml.html)

This class inherits XmlDocument in gb.xml.
This class is
Dim hHtmlDocument As HtmlDocument
creatable
.

Properties | Methods
--- | ---

property All As xmlnode Returns an array with every xmlnode
All
Base Body
Returns the full content of the document.
Content
Sets the favicon path to be used
Favicon
Head Html5
Sets the content of the Lang tag
Lang
Root
property Read Scripts As comp/gb.xml.html.HtmlDocumentScripts
Scripts
StyleSheets
Sets the title of the HTML document
Title

Creates a new element TagName and returns it as an XmlElement
CreateElement
FromString
Function GetElementById ( Id As String [ , Depth As Integer ] ) As XmlElement
GetElementById
Function GetElementsByClassName ( ClassName As String [ , Depth As Integer ] ) As XmlElement
GetElementsByClassName
Function GetElementsByNamespace ( Namespace As String [ , Mode As Integer, Depth As Integer ] ) As XmlElement
GetElementsByNamespace
Returns all the elements of the document whose tag name matches Name.
GetElementsByTagName
HtmlFromString Open
Saves the content of the document to FileName.
Save
ToString
A synonymous of the Save function.
Write