English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML Das <details>-Element kann ein Bedienelement erstellen, das nur angezeigt wird, wenn es in den erweiterten Zustand umgeschaltet wird. Das <summary>-Element kann eine Zusammenfassung oder ein Label für dieses Element bereitstellen.
Verwendung des <details>-Elements:
!doctype html <html> <head> <meta charset="UTF-8"> <title>HTML5 Verwendung des details-Labels (Grundlagen-Tutorial-Website oldtoolbag.com)</title> </head> <body> <details> <summary>Details</summary> Etwas so klein, dass es nicht aufmerksam erkannt wird.(Grundlagen-Tutorial-Website oldtoolbag.com) </details> </body> </html>Testen Sie es heraus ‹/›
Wie läuft der Betrieb ab:
IEFirefoxOperaChromeSafari
Currently, only Chrome and Safari 6 Supports <details> Tag.
<details> Tag specifies additional details that are visible or hidden, as required by the user.
<details> Tag is used to provide interactive controls for users to open and close. Any form of content can be placed inside the <details> tag.
The content of the <details> element is not visible to the user unless the open attribute is set.
<details> Tag is an HTML5 New Tag in
Tip:with <summary> Using a combination of tags can define a title for details. The title is visible, and when the user clicks on the title, the details will be displayed.
New: HTML5 New attribute in
Attribute | Value | Description |
---|---|---|
openHTML5 | open | Specifies whether the details are visible. |
Support for <details> Tag Global Attributes of HTML.
Support for <details> Tag HTML Event Attributes.