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.MetaTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None


Name Required Evaluation Type Description
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.


No Variables Defined.