CxScript Elements - cx:element
Updated over a week ago

The cx:element creates a complete HTML or XML tag (opening tag, and closing tag). The name of the tag to be created is determined by the tag attribute. The names and values of the created tag are specified by using the cx:parameter element.

Example 1

<cx:element tag="td">

 <cx:parameter name="bgcolor" value="#CCCCCC"/>

 <cx:parameter name="align" value="left"/>




<td bgcolor="#CCCCCC" align="left">Hello!</td>


Example 2

<cx:element tag="a">

 <cx:parameter name="href" value=""/>



<a href=""></a>


The following table contains all attributes available with the cx:element element. Obligatory attributes are printed bold.


Did this answer your question?