MSHTML Classes: CSpanElement

An instance of the CSpanElement class is created for each SPAN tag.

Identifiers

coclass: HTMLSpanElement {3050F3F5-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLSpanElement {3050F548-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CSpanElement class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.

Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted yellow. Properties that are listed but not as applying to the span element are shaded yellow.

Property Attribute Interface Member
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
childNodes   IHTMLDOMNode get_childNodes
  cite    
cloneNode   IHTMLDOMNode cloneNode
dataFld   IHTMLDataBinding get_dataFld
put_dataFld
dataFormatAs   IHTMLDataBinding get_dataFormatAs
put_dataFormatAs
dataSrc   IHTMLDataBinding get_dataSrc
put_dataSrc
  dateTime    
firstChild   IHTMLDOMNode get_firstChild
hasChildNodes   IHTMLDOMNode hasChildNodes
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
  nofocusRect    
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
swapNode   IHTMLDOMNode swapNode
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber