What does header mean in HTML5

WBOY
Release: 2021-12-22 10:05:28
Original
9415 people have browsed it

Header in HTML5 means "header, header". It is a semantic tag used to define the header of a document or a part of the document. The syntax is "

header code"; In a document, multiple header elements can be defined as containers for introduction content or navigation link bars.

What does header mean in HTML5

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

What is the meaning of header in HTML5

Header in HTML5 means "header, header", which is a semantic tag.

tag defines the header of a document or a part of a document. The

element should serve as a container for introductory content or a navigation link bar.

In a document, you can define multiple

elements.

Note: The

tag cannot be placed inside a
,
or another
element.

The example is as follows:

<html>
<body>
<article>
<header>
<h1>What Does WWF Do?</h1>
<p>WWF&#39;s mission:</p>
</header>
<p>WWF&#39;s mission is to stop the degradation of our planet&#39;s natural environment, and build a future in which humans live in harmony with nature.</p>
</article>
</body>
</html>
Copy after login

Output result:

What does header mean in HTML5

Recommended tutorial: "html video tutorial"

The above is the detailed content of What does header 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