English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständige Liste der HTML-Tags

HTML: <figcaption> Tag

Der HTML <figcaption>-Element ist eine Beschreibung des mit ihm verbundenen Bildes/Titel, der die anderen Daten im übergeordneten Element <figure> beschreibt. Dies bedeutet, dass <figcaption> im <figure>-Block der erste oder letzte ist. Gleichzeitig ist das HTML-Figcaption-Element optional; wenn dieses Element fehlt, wird das Bild im übergeordneten Knoten nur ohne Beschreibung angezeigt/Titel.

Online-Beispiel

Verwenden Sie das <figure>-Element, um ein Bild in einem Dokument zu kennzeichnen. Das <figure>-Element hat einen Titel:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Grundlagen-Tutorial-Website(w3(codebox.com)</title> 
</head>
<body>
<figure>
  <img src="views.png" alt="views" width="304"height="228">
  <figcaption>famous for its scenic beauty.</figcaption>/figcaption>
</figure>
</body>
</html>
Test See ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

IE 9Firefox, Opera, Chrome, and Safari support the <figcaption> tag.

Note:IE 8 or earlier versions of IE browsers do not support the <figcaption> tag.

Tag Definitions and Usage Instructions

The <figcaption> tag is for <figure> Element Defines Title.

The <figcaption> element should be placed at the first or last child element position of the <figure> element.

HTML 4.01 and HTML5Differences Between

The <figcaption> Tag is an HTML5 New Tags in

Global Attributes

Support for <figcaption> Tag Global Attributes of HTML.

Event Attributes

Support for <figcaption> Tag HTML Event Attributes.