Returns a div tag with inner data and attributes.

Syntax

Smartsite SXML CopyCode image Copy Code
string html.div(string data)
string html.div(string data, string attributes)

Parameters

Name Data Type Description
data String The data.
attributes String The attributes.

Return Value

Data Type Description
String A span tag with the specified attributes containing the specified data (<div [attributes]>data</div>).

Expand image Example

SXML