create
fun create(tagName: String, className: String = definedExternally, container: HTMLElement = definedExternally): HTMLElement(source)
Creates an HTML element with tagName, sets its class to className, and optionally appends it to container element.
Parameters
tagName 
The name of the tag to create (for example: div or canvas).
className 
The class to set on the created element.
container
The container to append the created element to.