title Property

Microsoft FrontPage Visual Basic

title Property

Sets or returns a String that represents the value of the TITLE element or a ScreenTip for an element.

expression.title

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the value of the TITLE element in the active document.

    ActiveDocument.Title = "Home Page"
  

The following example sets the ScreenTip text for the first paragraph in the active document.

    Dim objPara As FPHTMLParaElement

Set objPara = ActiveDocument.all.tags("p").Item(0)
objPara.Title = "tooltip text"