MSHTML Classes: CMetaElement

An instance of the CMetaElement class is created for each META tag.

Identifiers

coclass: HTMLMetaElement {3050F275-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLMetaElement {3050F517-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CMetaElement 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 meta element are shaded yellow.

Property Attribute Interface Member
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
charset same IHTMLMetaElement get_charset
put_charset
childNodes   IHTMLDOMNode get_childNodes
cloneNode   IHTMLDOMNode cloneNode
content same IHTMLMetaElement get_content
put_content
firstChild   IHTMLDOMNode get_firstChild
hasChildNodes   IHTMLDOMNode hasChildNodes
httpEquiv http-equiv IHTMLMetaElement get_httpEquiv
put_httpEquiv
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
name same IHTMLMetaElement get_name
put_name
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
scheme same IHTMLMetaElement2 get_scheme
put_scheme
swapNode   IHTMLDOMNode swapNode
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
url same IHTMLMetaElement get_url
put_url