PUBLIC:DEFAULTS Element
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:
false
Content in the tag defined in the HTC file cannot contain HTML markup. true
Content in the tag defined in the HTC file can contain HTML markup. - contentEditable
Optional. Boolean that specifies one of the following values:
inherit Default. Object inherits from its parent the ability of the content to be edited by the user. false
Content in the tag defined in the HTC file is not editable. true
Content 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:
false Default. Tag defined in the HTC file does not become active from tabbing. true
Tag defined in the HTC file can become active from tabbing. - viewInheritStyle
Optional. Boolean that specifies one of the following values:
false
Viewlink does not inherit styles from the main HTML file. true Default. Viewlink inherits styles from the main HTML file. - viewLinkContent
Optional. Boolean that specifies one of the following values:
false Default. Markup in the document of the HTC file is not used as the viewlink. true
Markup in the document of the HTC file is used as the viewlink. - viewMasterTab
Optional. Boolean that specifies one of the following values:
false
Master element of a viewlink is not included in the tab sequence of the primary document. true Default. Master element of a viewlink is included in the tab sequence of the primary document.
Element Information
Parent elements PUBLIC:COMPONENT Child elements None Minimum availability Internet 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