Home > Web Front-end > HTML Tutorial > Which tag defines the title

Which tag defines the title

藏色散人
Release: 2020-07-29 11:08:44
Original
7556 people have browsed it

The "

-

" tag defines the title, where the "

" tag defines the largest title, and the "

" tag defines the smallest title. Since h Elements have precise semantics, so the appropriate tag hierarchy needs to be carefully chosen to structure the document.

Which tag defines the title

Recommended: "HTMLTutorial"

-

tags can Define the title.

defines the largest heading.

Defines the smallest heading.

Because the h element has exact semantics, please carefully choose the appropriate tag level to structure the document. Therefore, please do not use title tags to change the font size within the same line. Instead, we should use cascading style sheet definitions to achieve beautiful display effects.

Example:

Six different HTML titles:

<h1>这是标题 1</h1>
<h2>这是标题 2</h2>
<h3>这是标题 3</h3>
<h4>这是标题 4</h4>
<h5>这是标题 5</h5>
<h6>这是标题 6</h6>
Copy after login

The above is the detailed content of Which tag defines the title. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template