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

HTML Reference Manual

HTML Tag Encyclopedia

HTML: <h3tag

> HTML <h3> The <h tag defines the third-level title in an HTML document. This tag is also commonly referred to as <h3> Element.

Online examples

 HTML h3Title:

!doctype html
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 H3Label usage (Basic Tutorial Website oldtoolbag.com)</title>
</head>
<body>
<h1>Heading 1</h1>
<p>This is the content that would appear under Heading 1.</p>
<h2>Heading 2</h2>
<p>This is the content that would appear under Heading 2.</p>
<h3>Heading 3</h3>
<p>This is the content that would appear under Heading 3.</p>
</body>
</body>
</html>
Test and see ‹/›

Browser compatibility

IEFirefoxOperaChromeSafari

All mainstream browsers support <h3> Label.

Label definition and usage instructions

HTML

> elements are located within the <body> tag.1> The range of headings can be from <h6> to <h1> and the most important heading is <h6> The least important heading is <h

>.1> heading font display is usually smaller than <h2in <h3> headings after finding <h

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

> for small headings.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> tag's "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 supports HTML Global Attributes.

event attributes

<h3tag supports HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Title