<ao:meta>

If contained with any MetasAttribute parent, adds the meta data to the parent tag. Otherwise, renders a <meta> tag.

The content may be provided in one of three ways, in precedence order:

  1. Direct child <ao:content> tag.
  2. As the content attribute
  3. Contents of tag body, trimmed.

Tag Information

Tag Class: com.aoindustries.taglib.legacy.MetaTag
TagExtraInfo Class: com.aoindustries.taglib.ElementTagTEI
Body Content: JSP
Display Name: None
Dynamic Attributes: true

Attributes

Name Required Evaluation Type Description
id No Runtime String

The id of the element. A nested <ao:id> tag will override this value.

class No Runtime String

The CSS class for the element. A nested <ao:class> tag will override this value.

dir No Runtime String

The dir of the element. A nested <ao:dir> tag will override this value.

style No Runtime Object

The CSS style for the element. A nested <ao:style> tag will override this value.

meta No Runtime Meta

An optional meta to copy all the attributes from, as captured by a MetasAttribute parent tag.

name No Runtime String

The name of the meta element. A nested <ao:name> tag will override this value.

httpEquiv No Runtime String

The http-equiv of the meta element.

itemprop No Runtime String

The itemprop used for semantic microdata.

charset No Runtime Object

The charset of the meta element.

content No Runtime Object

The content of the meta data. A nested <ao:content> tag will override this value. If neither is provided, the output of the body is used with whitespace trimmed.

Variables

No Variables Defined.