From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- files/de/web/html/element/caption/index.html | 151 +++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 files/de/web/html/element/caption/index.html (limited to 'files/de/web/html/element/caption') diff --git a/files/de/web/html/element/caption/index.html b/files/de/web/html/element/caption/index.html new file mode 100644 index 0000000000..a259091943 --- /dev/null +++ b/files/de/web/html/element/caption/index.html @@ -0,0 +1,151 @@ +--- +title: +slug: Web/HTML/Element/caption +translation_of: Web/HTML/Element/caption +--- +

Zusammenfassung

+ +

Das HTML-Element <caption> (oder auch HTML-Tabellenüberschrift-Element) stellt den Titel einer Tabelle dar. Somit ist dieses immer das erste untergeordnete Element einer Tabelle ({{HTMLElement("table")}}). Das Layout wird über CSS festegelegt, es ist relativ zur Tabelle.

+ + + + + + + + + + + + + + + + + + + + + + + + +
InhaltskategorieKeine
erlaubter InhaltFließender Inhalt.
Auslassbare Tags{{no_tag_omission}}
erlaubte elterliche ElementeA {{HTMLElement("table")}} element, as its first descendant.
DOM-Schnittstelle{{domxref("HTMLTableCaptionElement")}}
+ +

Attribute

+ +

Dieses Dokument unterstützt die globalen Attribute.

+ +
+
{{htmlattrdef("align")}} {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}}
+
This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have the following values: +
    +
  • left, displayed to the left of the table
  • +
  • top, displayed before the the table
  • +
  • right, displayed to the right of the table
  • +
  • bottom, displayed under the table
  • +
+ +
Usage note: Do not use this attribute, as it has been deprecated: the {{HTMLElement("caption")}} element should be styled using CSS. To give a similar effect to the align attribute, use the the CSS properties {{cssxref("caption-side")}} and {{cssxref("text-align")}}.
+
+
+ +

Examples

+ +

Please see the {{HTMLElement("table")}} page for examples on {{HTMLElement("caption")}}

+ +

Specifications

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', 'tabular-data.html#the-caption-element', '<caption>')}}{{Spec2('HTML WHATWG')}} 
{{SpecName('HTML5 W3C', 'tabular-data.html#the-caption-element', '<caption>')}}{{Spec2('HTML5 W3C')}} 
{{SpecName('HTML4.01', 'struct/tables.html#h-11.2.2', '<caption>')}}{{Spec2('HTML4.01')}} 
+ +

Browser compatibility

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoMobile("1.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +

See also

+ + + +

{{HTMLRef}}

-- cgit v1.2.3-54-g00ecf