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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <h1Tag

HTML <h1>Diese Marke definiert die höchste oder wichtigste Überschrift im HTML-Dokument. Diese Marke wird oft auch <h1>Element.

Online-Beispiel

 HTML H1Titel:

!doctype html
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 H1Verwendung von Tags (Grundtutorialsnetz oldtoolbag.com)</title>
</head>
<body>
<h1>Überschrift 1</h1>
<p>Dies ist der Inhalt, der unter der Überschrift angezeigt wird 1.</p>
</body>
</html>
Testen Sie, ob ‹/›

Browserkompatibilität

IEFirefoxOperChromeSafari

All major browsers support <h1> Tag.

Tag Description and Usage

The range of titles can be from<h1> to<h6>. The most important title is<h1>The least important title is<h6>.

<h1>The title is the first title in the document.

<h1>Titles are usually in large font.

Do not just use<h1> tags to apply other formatting.<h1> tags are used to define heading levels, for example in a table of contents.

HTML 4.01 With HTML5differences

In HTML 4.01 in, <h1> The "align" attribute has been deprecated. In HTML 5 in, <h1The "align" attribute of the > element is not supported. Please use CSS to align elements.

Attribute

AttributeValueDescription
alignleft
center
right
justify
HTML5 Not Supported. HTML 4.01 Deprecated. Specifies the alignment of the title text.

Global Attributes

<h1Tag Support HTML Global Attributes.

Event Attributes

<h1Tag Support HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Titles