VBDOM  

Document: createElement

Creates an element node using the specified name.

[Visual Basic]
 Public Function createElement(
	  ByVal tagName As String ) As Element

Parameters

tagName
[ByVal] String. Name for the new element node. It is case sensitive. This name is subsequently available as the element node's nodeName property.

Return Values

Element -  References to the new element or Nothing on failure.

Remarks

None

See Also

Class Document Overview | Document Members | documentElement (get)