Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 404037 of HTMLTableCaptionElement

  • Revision slug: Web/API/HTMLTableCaptionElement
  • Revision title: HTMLTableCaptionElement
  • Revision id: 404037
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment DOM/HTMLTableCaptionElement Web/API/HTMLTableCaptionElement

Revision Content

{{DomRef}}

HTML table caption element

DOM table caption elements expose the HTMLTableCaptionElement (or {{HTMLVersionInline(4)}} HTMLTableCaptionElement) interface, which provides special properties (beyond the regular element object interface they also have available to them by inheritance) for manipulating definition list elements. In {{HTMLVersionInline(5)}}, this interface inherits from HTMLElement, but defines no additional members.

Properties

Name Type Description
align {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}} DOMString Enumerated attribute indicating alignment of the caption with respect to the table.

See also

  • HTML {{HTMLElement("caption")}} element

Revision Source

<div>
  {{DomRef}}</div>
<h2 id="HTML_table_caption_element" name="HTML_table_caption_element">HTML table caption element</h2>
<p>DOM table caption elements expose the <a href="https://www.w3.org/TR/html5/tabular-data.html#htmltablecaptionelement" target="_blank" title="https://www.w3.org/TR/html5/tabular-data.html#htmltablecaptionelement">HTMLTableCaptionElement</a> (or {{HTMLVersionInline(4)}} <a class="external" href="https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-12035137" target="_blank" title="https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-12035137"><code>HTMLTableCaptionElement</code></a>) interface, which provides special properties (beyond the regular <a href="/en-US/docs/DOM/element">element</a> object interface they also have available to them by inheritance) for manipulating definition list elements. In {{HTMLVersionInline(5)}}, this interface inherits from HTMLElement, but defines no additional members.</p>
<h2 id="Properties" name="Properties">Properties</h2>
<table class="standard-table">
  <thead>
    <tr>
      <th scope="col">Name</th>
      <th scope="col">Type</th>
      <th scope="col">Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><code>align</code> {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}}</td>
      <td><a href="/en-US/docs/DOM/DOMString" title="DOM/DOMString"><code>DOMString</code></a></td>
      <td>Enumerated attribute indicating alignment of the caption with respect to the table.</td>
    </tr>
  </tbody>
</table>
<h2 id="See_also" name="See_also">See also</h2>
<ul>
  <li>HTML {{HTMLElement("caption")}} element</li>
</ul>
Revert to this revision