V5.2meta (db.meta.empty)

meta — A generic metadata element.

Synopsis

meta (db.meta.empty) ::=

  • empty

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • content
  • name

Required attributes are shown in bold.

Description

The meta element can be used to add arbitrary metadata to the info section of an element. DocBook makes no assertions about the semantics of these elements.

If the meta tag has a content attribute, then the content of that attribute is taken to be the metadata value. In this case, the element must be empty.

Processing expectations

Suppressed. The meta information may be used in presentation, but it is not generally formatted directly.

Attributes

Common attributes and common linking attributes.

content

The metadata content

name

A name for the metadata element

Parents

These elements contain meta: biblioentry, bibliomixed, bibliomset, biblioset, info (db.info), info (db.titleforbidden.info), info (db.titleonly.info), info (db.titleonlyreq.info), info (db.titlereq.info).

See Also

Related elements: meta (db.meta.content).

Examples

1<article xmlns='http://docbook.org/ns/docbook'>
<info>
  <title>Example with meta elements</title>
  <meta name="widget-color" content="blue"/>
5  <meta name="widget-text">
    <emphasis>W</emphasis>idget
  </meta>
</info>
<para>This example article has two
10<tag>meta</tag> elements in its
<tag>info</tag>.</para>
</article>

This example article has two meta elements in its info.