MagicCMS Documentation

MagicUtils..::..HTMLElement Method (String, String, String, String)

Create an HTML element.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static HtmlGenericControl HTMLElement(
	string tagName,
	string cssClass,
	string innerHTML,
	string id
)

Parameters

tagName
Type: String
Name of the tag.
cssClass
Type: String
The CSS class.
innerHTML
Type: String
The inner HTML.
id
Type: String
The id.

Return Value

HtmlGenericControl.