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

HTML-Referenzhandbuch

HTML-Tag-Übersicht

HTML: <h5Tag

HTML <h5>Der <h5>Element.

Online-Beispiel

 HTML h5Titel:

!doctype html
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 h5标签的使用(基础教程网 oldtoolbag.com)</title>
</head>
<body>
<h1>Überschrift 1</h1>
<p>Dies ist der Inhalt, der unter der Überschrift erscheinen würde 1.</p>
<h2>Überschrift 2</h2>
<p>Dies ist der Inhalt, der unter der Überschrift erscheinen würde 2.</p>
<h3>Überschrift 3</h3>
<p>Dies ist der Inhalt, der unter der Überschrift erscheinen würde 3.</p>
<h4>Überschrift 4</h4>
<p>Dies ist der Inhalt, der unter der Überschrift erscheinen würde 4.</p>
<h5>Überschrift 5</h5>
<p>Dies ist der Inhalt, der unter der Überschrift erscheinen würde 5.</p>
</body>
</html>
测试看看 ‹/›

浏览器兼容性

IEFirefoxOperaChromeSafari

所有主流浏览器都支持 <h5> 标签。

标签定义及使用说明

HTML

>Element is located within the <body> tag.1>The range of heading levels can be from <h6> to <h1>The most important title is <h6>The least important title is <h

>.1>Title font size is usually smaller than <h2>Title font size is usually smaller than <h3> and <h4in <h5>Title, find <h

<h5>Title. Do not skip heading levels.1>Title font size is usually smaller than <h2>Title font size is usually smaller than <h3> and <h4>Title is slightly smaller.

Do not just use<h5Tags to apply other formatting.<h5Tag is used to define heading levels, for example in a table of contents.

HTML 4.01 and HTML5Differences between

In HTML 4.01 in, <h5> "align" attribute is deprecated. In HTML 5 in, <h5The "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

<h5Tag Support HTML Global Attributes.

Event Attributes

<h5Tag Support HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Titles