Returns an Xml/Html selfclosing tag.

Syntax

Smartsite SXML CopyCode image Copy Code
string html.tag(string tagName)
string html.tag(string tagName, string data)
string html.tag(string tagName, string data, string parameters)

Parameters

Name Data Type Description
tagName String Name of the tag.
data String The data.
parameters String The attributes.

Return Value

Data Type Description
String A selfclosing (empty) xml/html tag (<tagname/>).

Expand image Example

SXML