Creates an attribute string using the specified name-value collection.

Syntax

Smartsite SXML CopyCode image Copy Code
string html.attributes(string[ ] nameValuePairs)

Parameters

Name Data Type Description
nameValuePairs String[ ] The name value pairs for the attributes.

Return Value

Data Type Description
String A string representing an HTML attribute pair.

Expand image Example

SXML