HTML Properties Supported by FrontPage 2002

   

The properties in Microsoft FrontPage Page object model are based on the properties in Microsoft Internet Explorer 4.0. Click any of the links in the following table for more detailed information on the specified property.

Note   Some of the properties have more than one topic associated with it. For more information about individual properties, consult The Microsoft Developer Network.

Note  For information on the IFPStyleState object and its properties, see FrontPage Programmability Items. This hyperlink goes to the web. You can switch back to help at any time.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
accessKey

action

activeElement

align (Text)

align (Caption)

align (Table)

align (Table)

aLink

alinkColor

all

alt

altHtml

altKey

anchors

appCodeName

appName

applets

appVersion

areas

  Return to top
background (Attributes)

background (Picture)

background (Table Picture)

backgroundAttachment

backgroundColor

backgroundImage

backgroundPosition

backgroundPositionX

backgroundPositionY

backgroundRepeat

balance

BaseHref

behavior

bgColor (Element)

bgColor (Page)

bgProperties

body

border

border (Style)

border (Frames)

border (Width)

borderBottom

borderBottomColor

borderBottomStyle

borderBottomWidth

borderColor (Element)

borderColor (borderWidth and borderStyle)

borderColorDark

borderColorLight

borderLeft

borderLeftColor

borderLeftStyle

borderRight

borderRightColor

borderRightStyle

borderRightWidth

borderStyle

borderTop

borderTopColor

borderTopStyle

borderTopWidth

borderWidth

bottomMargin

button

  Return to top
cancelBubble

caption

cellIndex

cellPadding

cells

cellSpacing

charset

children

className

clear

clientHeight

clientInformation

clientLeft

clientTop

clientWidth

clientX

clientY

clip

closed

code

codeBase (Base URL for the Application)

codeBas (Location of Object Implementation)

codeType

color (Font or Horizontal Rule)

color (Text)

cols (Text Area Width)

cols (Table Columns)

cols (Frames)

colSpan

compact

complete

content

cookie

coords

cssText

ctrlKey

currentStyleState

cursor

  Return to top
dataFld

dataFormatAs

dataPageSize

dataSrc

defaultCharset

defaultChecked

defaultSelected

defaultStatus

defer

dialogArguments

dialogHeight

dialogLeft

dialogTop

dialogWidth

direction

disabled (Control)

disabled (Style Sheet)

display

Document

DocumentHTML

domain

dynsrc

  Return to top
elements

embeds

encoding

event

external

  Return to top
face

fgColor

fileCreatedDate

fileModifiedDate

fileSize

fileUpdatedDate

font

fontFamily

fontSize

fontsrc

fontStyle

fontVariant

fontWeight

form

forms

frameBorder

frames

frameSpacing

fromElement

  Return to top
hash

hasSharedBorders

height

hidden

history

host

hostname

href (Style sheet)

href (Destination or anchor point)

href (Baseline URL for Relative Links)

href (Location)

hspace

htmlFor (Element)

htmlFor (Control)

htmlText

htmlViewText

httpEquiv

  Return to top
id

ignoreSharedBorders

images

imports

indeterminate

index

innerHTML

innerText

isMap

isTextEdit

keyCode

  Return to top
lang

language

lastModified

left

leftMargin

length

letterSpacing

lineHeight

link

linkColor

links

listStyle

listStyleImage

listStylePosition

listStyleType

listStyleType

location

loop

lowsrc

  Return to top
margin

marginBottom

marginHeight

marginLeft

marginRight

marginTop

marginWidth

maxLength

media

method

Methods

mseMode

multiple

name (Window or Frame)

name (Control, Bookmark, or Application)

nameProp

navigator

noHref

noResize

noShade

noWrap

  Return to top
offsetHeight

offsetLeft

offsetParent

offsetTop

offsetWidth

offsetX

offsetY

onbeforeunload

onbeforeunload

onbeforeunload

onblur (Window)

onchange (File Input)

onchange (Text Area)

onchange (Selection)

onchange (Button)

onchange (Text Input)

onclick (Document2)

onclick (IHTMLElement)

ondblclick (Document2)

ondblclick (IHTMLElement)

ondragstart (Document2)

ondragstart (IHTMLElement)

onfocus (Window)

onkeydown (Document2)

onkeydown (IHTMLElement)

onkeypress (Document2)

onkeypress (IHTMLElement)

onkeyup (Document2)

onkeyup (IHTMLElement)

onload (Image)

onload (Input Image)

onmousedown (Document2)

onmousedown (IHTMLElement)

onmousemove (Document2)

onmousemove (IHTMLElement)

onmouseout (Document2)

onmouseout (IHTMLElement)

onmouseover (Document2)

onmouseover (IHTMLElement)

onmouseup (Document2)

onmouseup (IHTMLElement)

onreadystatechange (Table)

onreadystatechange (Link)

onreadystatechange (Object)

onreadystatechange (Document)

onreadystatechange (Style)

onresize

onscroll (Window)

onscroll (Text Container)

onselect (Input File)

onselect (Text Area)

onselect (Input Text)

onselect (Body)

onselectstart (Document2)

onselectstart (IHTMLElement)

onunload (Body)

options

outerHTML

overflow

owningElement

  Return to top
padding

paddingBottom

paddingLeft

paddingRight

paddingTop

pageBreakAfter

pageBreakBefore

pageContentElement

palette

parentElement

parentStyleSheet

parentTextEdit

parentWindow

pathname

plugins

pluginspage

port

posHeight

position

posLeft

posTop

posWidth

prompt

protocol

  Return to top
readOnly (Style sheet)

readOnly (Element)

rel

returnValue (Event)

rev

rightMargin

rowIndex

rowSpan

rules

  Return to top
screen

screenX

screenY

scripts

scroll

scrollAmount

scrollDelay

scrollHeight

scrolling

scrollLeft

scrollTop

scrollWidth

search

sectionRowIndex

selected

selectedIndex

selection

self

shape

shiftKey

size (Font)

size (HRElement Height)

size (Control)

sourceIndex

span

src (Sound URL)

src (External Source Code)

src (URL)

srcElement

start (ImgElement)

start (OListElement)

start (Marquee)

style

styleFloat

styleSheet

styleSheets

  Return to top
tabIndex

tagName

target

tBodies

text (Range)

text (Body-Text Color)

text (Block Element)

text (Option tag Text)

textAlign

textDecoration

textDecorationBlink

textDecorationLineThrough

textDecorationNone

textDecorationOverline

textDecorationUnderline

textIndent

textTransform

tFoot

tHead

title (Style Sheet)

title (Element)

toElement

top

topMargin

trueSpeed

type (List Style)

type (Selection)

type (Style Sheet Language)

type (Default Button Behavior)

type (Event or script name)

type (Mime)

type (CSS Language)

type (Intrinsic Control)

type (Scripting Language)

  Return to top
units

urn

useMap

vAlign (Caption)

vAlign (Element)

value (Object)

value (Control)

value (Ordered Lists)

verticalAlign

ViewMode

visibility

vLink

vlinkColor

volume

vrml (ImgElement)

vrml (InputImage)

vspace

web

webbots

width (Horizontal Resolution)

width (Element – Calculated width)

width (Element)

window (or self)

wrap

x

y

zIndex



Note  The FrontPage Page Object Model Help refers to objects, methods, properties and events that are defined in the Internet Explorer 4.0 dynamic HTML Help file (HTMLRef.chm). The examples and remarks given in this Help file were originally created for use with the JavaScript programming language. There are some differences between the JavaScript language and Microsoft Visual Basic. For example, HTMLRef.chm mentions checking for NULL when a property or method returns an object that does not exist. This is incorrect for Visual Basic. In the Visual Basic Language, the type Nothing is returned in this case. Visual Basic users can check an object for Nothing by using the Is keyword.

For example, 

If MyObject Is Nothing Then

Also, many of the examples are given in JavaScript instead of Visual Basic. JavaScript is similar to the C++ language in structure and format.

The following is an example ofJavaScript.

var Table = document.all.tags("table").item(0);
var TableCell = table.rows(3).cells(2);
TableCell.innertext = ""
While (p != NULL)
{
    TableCell.innerText = p.tagName;
    var p = p.parentElement
    TableCell.innertext = p.tagName;
    TableCell.innertext += "+";
    TableCell.innertext += TableCell.innertext;
}

The following is the equivalent example in Visual Basic.

Sub SetText()

  Set TableCell = table.Rows(3).Cells(2)
  Set p = TableCell
  TableCell.innerText = ""
  Do While Not p Is Nothing
    TableCell.innerText = p.tagName & "+" & TableCell.innerText
    Set p = p.parentElement
  Loop

End Sub