What does the hi tag mean in html5

青灯夜游
Release: 2022-01-11 15:03:09
Original
3342 people have browsed it

In HTML5, the hi tag refers to the title series tags. The text sandwiched between "" and "" is the title in the Html document. The text of the title is Shown in bold; hi tags have six formats: "

", "

", "

", "

", "

", "

What does the hi tag mean in html5

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

In HTML5, the hi tag refers to the title series tag, which is a paired tag. The text sandwiched between "" and "" is in the Html document The title and text of the title are shown in bold.

The hi tag has six formats: "

", "

", "

", "

", "

", "< ;h6>".

The upper-level title is always larger than the lower-level titles. The specific size varies depending on the browser. The text enclosed by the

tag is the first-level title, which is the largest and thickest. The text enclosed by the

tag is the last-level title, which is the smallest and thinnest.

Example:

<!doctype html>
<html>
<head>
<title>hi标签测试</title>
</head>
<body>
<h1>这是一级标题</h1>
<h2>这是二级标题</h2>
<h3>这是三级标题</h3>
<h4>这是四级标题</h4>
<h5>这是五级标题</h5>
<h6>这是六级标题</h6>
</body>
</html>
Copy after login

What does the hi tag mean in html5

We can see the effect in the browser. It should also be noted that the tag also implies a line break. The attributes of the tag include color and align, which respectively identify the color and position of the title. The parameter value range of the color attribute is the same as that of the tag, and can be any one of the 16 colors. The parameter value of the align attribute is one of left, center or right. Indicates that the title is located on the left, center, and right of the browser window.

Related recommendations: "html video tutorial"

The above is the detailed content of What does the hi tag mean in html5. 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