Method CreateElement
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
CreateElement(string)
Creates and returns a new DOM element with the specified tag name.
IElement CreateElement(string tagName)
Parameters
tagName
stringthe tag name (e.g. "A", "P", "DIV") of the new DOM element.
Returns
Exceptions
- ArgumentException
The
tagName
is null, empty, or contains only blank characters.