HTML Style and Content Attributes

The optional style and content attributes of the HTML tag allow the Portlet Presentation Template to override the standard HTML tag format.

The HTML element <pcs:html:foo>Stuff</pcs:html:foo> would produce the following, given the additional attributes shown:

Attribute

Result

(no extra attributes)

<foo>Stuff</foo>

style="UNARY"

<foo>Stuff

style="ORPHAN"

Stuff</foo>

style="EMPTY"

<foo/>

Content="OMIT"

<foo></foo>

style="UNARY" content="OMIT"

<foo>

style="ORPHAN" content="OMIT"

</foo>

style="EMPTY" content="OMIT" (redundant)

<foo/>