Skip to main content
IHTMLElementDefaults Interface

This interface provides the ability to programmatically set default properties on an element behavior.

IHTMLElementDefaults Members

canHaveHTML Retrieves the value indicating whether the object can contain rich HTML markup.
contentEditable Sets or retrieves the string that indicates whether the user can edit the content of the object.
frozen Not implemented.
isMultiLine Retrieves the value indicating whether the content of the object contains one or more lines.
scrollSegmentX Not implemented.
scrollSegmentY Not implemented.
style Retrieves the inline stylesheet for the element.
tabStop Sets or retrieves whether an element behavior can receive focus and participate in the tabbing sequence.
viewInheritStyle Sets or retrieves a value that indicates whether the document fragment inherits the Cascading Style Sheets (CSS) styles set in the primary document.
viewLink Sets or retrieves the document object that supplies content to the master element.
viewMasterTab Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document.

Interface Information

Stock Implementationmshtml.dll
Custom ImplementationNo
Inherits from IDispatch
Header and IDL filesmshtml.h, mshtml.idl
Minimum availabilityInternet Explorer 5.5
Minimum operating systems Windows 95, Windows NT 4.0, Windows CE 4.0

See Also