<address>
Bedeutung
Kontaktangabe zum Autor eines Inhalts
Notation
<address [Attribute]>[Elementinhalt]</address>
Elternelemente
Kann gemäß der HTML5 Spezifikation innerhalb der folgenden Elemente vorkommen:
zum <blockquote> Element<blockquote>
, zum <body> Element<body>
, zum <button> Element<button>
, zum <dd> Element<dd>
, zum <del> Element<del>
, zum <div> Element<div>
, zum <fieldset> Element<fieldset>
, zum <form> Element<form>
, zum <iframe> Element<iframe>
, zum <ins> Element<ins>
, zum <li> Element<li>
, zum <map> Element<map>
, zum <noscript> Element<noscript>
, zum <object> Element<object>
, zum <td> Element<td>
und zum <th> Element<th>
.
Elementinhalt
Kann Text mit folgenden anderen HTML-Elementen enthalten:
Liste der HTML 5 Inline-ElementeInline-Elemente
.
Attribute
Das Element hat keine elementspezifischen Attribute.
Des Weiteren kann das Element folgende allgemeinen Attribute und Event-Handler enthalten:zum HTML5 Attribut accesskeyaccesskey
| zum HTML5 Attribut classclass
| zum HTML5 Attribut contenteditablecontenteditable
| zum HTML5 Attribut contextmenucontextmenu
| zum HTML5 Attribut datadata
| zum HTML5 Attribut dirdir
| zum HTML5 Attribut draggabledraggable
| zum HTML5 Attribut hiddenhidden
| zum HTML5 Attribut idid
| zum HTML5 Attribut itemitem
| zum HTML5 Attribut itempropitemprop
| zum HTML5 Attribut langlang
| zum HTML5 Attribut spellcheckspellcheck
| zum HTML5 Attribut stylestyle
| zum HTML5 Attribut subjectsubject
| zum HTML5 Attribut tabindextabindex
| zum HTML5 Attribut titletitle
onabort
| onblur
| onchange
| onclick
| oncontextmenu
| ondblclick
| ondrag
| ondragend
| ondragenter
| ondragleave
| ondragover
| ondragstart
| ondrop
| onfocus
| onkeydown
| onkeypress
| onkeyup
| onmousedown
| onmousemove
| onmouseout
| onmouseover
| onmouseup
| onmousewheel
| onscroll
Standard-Style-Formateigenschaften
address {
display: block;
}
address {
font-style: italic;
}
Beispiel
<article class="content"> <h1><Überschrift></h1> <p>...</p> <section> <header> <h1><Überschrift></h1> </header> <p>...</p> <footer> ... <address> Kontakt: ... </address> </footer> </section> <section> <header> <h1><Überschrift></h1> </header> <p>...</p> <footer> ... <address> Kontakt: ... </address> </footer> </section> </article>
Erläuterung
Das <address>
Element ermöglicht es Kontaktinformationen semantischBedeutung: semantischder Bedeutung, dem Sinn entsprechend korrekt auszuzeichenen und kann gemäß der Spezifikation die Kontaktdaten für ein gesamtes Dokument oder aber für einen einzelnen Artikel auszuzeichenen. Im Elementinhalt
<address>[...]<address>
können neben Text auch HTML 5 Phrasing ElementePhrasing-Elemente notiert werden.