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

HTML Referenzhandbuch

HTML-Tag-Übersicht

HTML details open Eigenschaft

Dieser Artikel beschreibt die HTML details open Eigenschaft als eine boolean (boolesche) Eigenschaft, zeigt durch ein Online-Beispiel, wie man die HTML details open Eigenschaft verwendet, die Kompatibilität des Browsers, die Syntaxdefinition und detaillierte Informationen zu seinen Eigenschaftswerten.

 HTML <details> Tag

Online-Beispiel

Ein geöffnetes/Sichtbare <details>-Elemente:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML <details> open Eigenschaft verwenden-Grund教程(oldtoolbag.com)</title>
body>/head>
<body>
<details open>
  <Zusammenfassung>Urheberrecht 2009-2020.</Zusammenfassung>
  <p> - von oldtoolbag.com. Alle Rechte vorbehalten.</<p>details default open.<
  <p>基础教程网为您提供IT基础教程学习资源,以及基础知识,学好基础,你才能走得更远.</<p>details default open.<
body>/<p>基础教程网为您提供it基础教程学习资源,以及基础知识,学好基础,你才能走的更远.<
details>/<p>details default open.<
body>/p>
body>/<
html>/Test and see ‹

Browser compatibilityIEFirefoxOperaChrome

Safari 6Currently only Chrome and Safari

Supports the open attribute.

Definition and usage

The open attribute is a boolean (boolean) attribute.

open attribute specifies that the details should be visible on the HTML page. 4HTML1 between5differences

<details> Tag is HTML5 New tags.

Differences between HTML and XHTML

In XHTML, attributes are not allowed to be abbreviated, the open attribute must be defined as: <details open="open">.

Syntax

<details open>

 HTML <details> Tag