DhDocument.createElement

Overview | Methods | This Package | All Packages

DhDocument.createElement

Creates an element from the name of an HTML tag if possible. This method is used internally by the package.

Syntax

public DhElement createElement( String tagTypes, String tagID )

Parameters

tagTypes

The type of HTML element to created (for example <BR>).

tagID

The identifer to assign to the newly created element.

Return Value

If the tagTypes tag name is not recognized by this package, it returns an instance of the DhRawHTML class.

Remarks

Calling this method represents a very advanced usage scenario. Typically, you would never use this method.