FPHTMLHeaderElement Object
FPHTMLHeaderElement Multiple objects |
Represents headings in an HTML document. Headings are represented using the H1 through H6 elements. See also the IHTMLHeaderElement.
Using the FPHTMLHeaderElement Object
Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the headings of a specified type in a document. For example, use tags("h1")
to return a collection of all H1 elements in a document and use tags("h2")
to return a collection of all H2 elements in a document.
Use the Item method to return an FPHTMLHeaderElement object that accesses a specific heading element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first H1 element in the active document.
Dim objHeading As FPHTMLHeaderElement
Set objHeading = ActiveDocument.all.tags("h1").Item(0)
Properties | Align Property | all Property | children Property | className Property | clear Property | Document Property | filters Property | id Property | innerHTML Property | innerText Property | isTextEdit Property | lang Property | language Property | offsetHeight Property | offsetLeft Property | offsetParent Property | offsetTop Property | offsetWidth Property | onafterupdate Property | onbeforeupdate Property | onclick Property | ondataavailable Property | ondatasetchanged Property | ondatasetcomplete Property | ondblclick Property | ondragstart Property | onerrorupdate Property | onfilterchange Property | onhelp Property | onkeydown Property | onkeypress Property | onkeyup Property | onmousedown Property | onmousemove Property | onmouseout Property | onmouseover Property | onmouseup Property | onrowenter Property | onrowexit Property | onselectstart Property | outerHTML Property | outerText Property | parentElement Property | parentTextEdit Property | recordNumber Property | sourceIndex Property | style Property | tagName Property | title Property
Methods | click Method | contains Method | getAttribute Method | insertAdjacentHTML Method | insertAdjacentText Method | removeAttribute Method | scrollIntoView Method | setAttribute Method | toString Method
Events | onafterupdate Event | onbeforeupdate Property | onclick Event | ondataavailable Event | ondatasetchanged Event | ondatasetcomplete Event | ondblclick Event | ondragstart Event | onerrorupdate Event | onfilterchange Event | onhelp Event | onkeydown Property | onkeypress Event | onkeyup Event | onmousedown Event | onmousemove Event | onmouseout Event | onmouseover Event | onmouseup Event | onrowenter Event | onrowexit Event | onselectstart Event
Parent Objects
Child Objects | IHTMLElement Object | IHTMLFiltersCollection Object | IHTMLStyle Object