English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML <h1>The <h> tag defines the highest level or most important heading in an HTML document. This tag is also commonly known as1>Element.
HTML H1Title:
!doctype html <html> <head> <meta charset="UTF-8"> <title>HTML5 H1The use of tags (Basic Tutorial Website oldtoolbag.com)</title> </head> <body> <h1>Heading 1</h1> <p>This is the content that would appear under Heading 1.</p> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support <h1> tag.
The range of headings can be from<h1> to<h6>. The most important heading is<h1>, the least important heading is<h6>.
<h1>Headings are the first heading in the document.
<h1>Headings are usually in large font.
Do not just use<h1> tag to apply other formatting.<h1> tag is used to define heading levels, for example in a table of contents.
In HTML 4.01 in, <h1> The "align" attribute of > has been deprecated. In HTML 5 in, <h1The "align" attribute of the > element is not supported. Please use CSS to align elements.
Attribute | Value | Description |
---|---|---|
align | left center right justify | HTML5 Not Supported. HTML 4.01 Deprecated. Defines the alignment of the title text. |
<h1tag supports HTML Global Attributes.
<h1tag supports HTML Event Attributes.
HTML Tutorial:HTML Title