Name

caption — An HTML table caption

Synopsis

caption (db.html.caption) ::= (text | Bibliography inlines | Error inlines | Graphic inlines | GUI inlines | Indexing inlines | Keyboard inlines | Linking inlines | Markup inlines | Math inlines | Object-oriented programming inlines | Operating system inlines | Product inlines | Programming inlines | Publishing inlines | Technical inlines | Ubiquitous inlines)*

Attribute synopsis

Attributes:

  • class

  • style

  • title

  • lang

  • onclick

  • ondblclick

  • onmousedown

  • onmouseup

  • onmouseover

  • onmousemove

  • onmouseout

  • onkeypress

  • onkeydown

  • onkeyup

Additional constraints

  • example must not occur among the children or descendants of caption.

  • figure must not occur among the children or descendants of caption.

  • table must not occur among the children or descendants of caption.

  • equation must not occur among the children or descendants of caption.

  • sidebar must not occur among the children or descendants of caption.

  • task must not occur among the children or descendants of caption.

  • caution must not occur among the children or descendants of caption.

  • important must not occur among the children or descendants of caption.

  • note must not occur among the children or descendants of caption.

  • tip must not occur among the children or descendants of caption.

  • warning must not occur among the children or descendants of caption.

Description

In an HTML table, a caption is a short text description for the table it is associated with.

Processing expectations

Formatted as a displayed block.

Attributes

class

Assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by whitespace characters.

lang

Specifies the base language of an element’s attribute values and text content. The default value of this attribute is unknown.

onclick

Occurs when the pointing device button is clicked over an element.

ondblclick

Occurs when the pointing device button is double-clicked over an element.

onkeydown

Occurs when a key is pressed down over an element.

onkeypress

Occurs when a key is pressed and released over an element.

onkeyup

Occurs when a key is released over an element.

onmousedown

Occurs when the pointing device button is pressed over an element.

onmousemove

Occurs when the pointing device is moved while it is over an element.

onmouseout

Occurs when the pointing device is moved away from an element.

onmouseover

Occurs when the pointing device is moved onto an element.

onmouseup

Occurs when the pointing device button is released over an element.

style

Specifies style information for the current element.

title

Offers advisory information about the element for which it is set.

See Also

audioobject, caption (db.caption), imageobject, inlinemediaobject, mediaobject, textobject, videoobject

Examples

See table (db.html.table) for an example that uses caption.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.7.240