English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
title-Globales Attribut enthält Texte, die konsultative Informationen darstellen und dem zugehörigen Element zugeordnet sind. Diese Informationen sind in der Regel vorhanden, aber nicht unbedingt erforderlich, um sie als Hinweisinformationen dem Benutzer anzuzeigen.
Einige typische Anwendungen:
Verweise: Titel oder Beschreibungen der verlinkten Dokumente
Medienelemente, z.B. Bilder: Beschreibungen oder zugehörige Informationen
Absätze: Fußnoten oder verwandte Kommentare
Zitate: Autoreninformationen sowie andere
title-Attribut in HTML-Dokumenten verwenden:
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>HTML title Attribut verwenden (Grundlagen-Tutorial-Website oldtoolbag.com)</title> </head> <body> <p><abbr title="World Health Organization">WHO</abbr>/abbr> was founded in 1948.</p> <p title="Free Basic Tutorial">oldtoolbag.com</p> </body> </html>Test see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the title attribute
The title attribute specifies additional information about the element.
When the mouse is moved over the element, this information is usually displayed as tooltip text.
In HTML 4.01In, the title attribute cannot be used with <base>, <head>, <html>, <meta>, <param>, <script>, <style> and <title>.
<element title="text">
value | description |
---|---|
text | Define the tooltip text (tooltip text) for the specified element. |