<ao:style>

Provides a style attribute to its StyleAttribute parent tag, if present, otherwise manually establishes a style context. The body of this tag contains a CSS.

Tag Information

Tag Class: com.aoapps.taglib.StyleTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None

Attributes

Name Required Evaluation Type Description
forceElement No Runtime boolean

Forces the creation of a manual style context even when within a StyleAttribute parent tag.

At this time, the <ao:html> tag does not implement StyleAttribute, so this should not be required when the style is within the <head>. However, inlining a stylesheet within some other tags, such as <ao:form>, will require forceElement="true".

Variables

No Variables Defined.