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

HTML 参考手册

HTML 标签大全

HTML: <h3Tag

>HTML <h3>Die <h-Tag markiert den dritten Ebenentitel in einem HTML-Dokument. Dieser Tag wird oft auch als <h3>Element.

在线示例

 HTML h3标题:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 H3标签的使用(基础教程网 w3<codebox.com)</code>/title>
</head>
<body>
<h1>Überschrift 1</h1>
<p>Dies ist der Inhalt, der unter der Überschrift angezeigt wird 1.</p>
<h2>Überschrift 2</h2>
<p>Dies ist der Inhalt, der unter der Überschrift angezeigt wird 2.</p>
<h3>Überschrift 3</h3>
<p>Dies ist der Inhalt, der unter der Überschrift angezeigt wird 3.</p>
</body>
</body>
</html>
测试看看 ‹/›

浏览器兼容性

IEFirefoxOperaChromeSafari

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

标签定义及使用说明

HTML

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

>.1> font display of the title is usually smaller than <h2in <h3> title after finding <h

<h3> title, do not skip heading levels.1> font display of the title is usually smaller than <h2> and <h

> to title small.3Tags to apply other formatting, do not just use<h3Tags are used to define heading levels, for example in a table of contents.

HTML 4.01 and HTML5differences between

In HTML 4.01 in, <h3> align attribute has been deprecated. In HTML 5 in, <h3The "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

<h3Tag Support HTML Global Attributes.

Event Attributes

<h3Tag Support HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Titles