PUBLIC:DEFAULTS

HTML (DHTML)

PUBLIC:DEFAULTS Element

Internet Development Index

Sets default properties for an HTML Component (HTC).

Syntax

<PUBLIC:DEFAULTS
    canHaveHTML = "bCanHaveHTML"
    contentEditable = "bEditable"
    style = "sStyle"
    tabStop = "bIsTabStop"
    viewInheritStyle = "bInheritsStyle"
    viewLinkContent = "bViewLinkContent"
    viewMasterTab = "bViewMasterTab"
/>

Attributes

canHaveHTML
Optional. Boolean that specifies one of the following values:
falseContent in the tag defined in the HTC file cannot contain HTML markup.
trueContent in the tag defined in the HTC file can contain HTML markup.
contentEditable
Optional. Boolean that specifies one of the following values:
inheritDefault. Object inherits from its parent the ability of the content to be edited by the user.
falseContent in the tag defined in the HTC file is not editable.
trueContent in the tag defined in the HTC file is editable.
style
Optional. String that specifies the style of the tag defined by the HTC file.
tabStop
Optional. Boolean that specifies one of the following values:
falseDefault. Tag defined in the HTC file does not become active from tabbing.
trueTag defined in the HTC file can become active from tabbing.
viewInheritStyle
Optional. Boolean that specifies one of the following values:
falseViewlink does not inherit styles from the main HTML file.
trueDefault. Viewlink inherits styles from the main HTML file.
viewLinkContent
Optional. Boolean that specifies one of the following values:
falseDefault. Markup in the document of the HTC file is not used as the viewlink.
trueMarkup in the document of the HTC file is used as the viewlink.
viewMasterTab
Optional. Boolean that specifies one of the following values:
falseMaster element of a viewlink is not included in the tab sequence of the primary document.
trueDefault. Master element of a viewlink is included in the tab sequence of the primary document.

Element Information

Parent elementsPUBLIC:COMPONENT
Child elements None
Minimum availabilityInternet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0

Remarks

For more information on using the viewLinkContent attribute in an HTC file, see the Creating a Viewlink section of the Introduction to Viewlink overview article.

See Also

Introduction to DHTML Behaviors, Using HTML Components to Implement DHTML Behaviors in Script, Introduction to Viewlink