Home >Web Front-end >HTML Tutorial >How to use html header tag

How to use html header tag

silencement
silencementOriginal
2019-05-26 17:42:177101browse

How to use html header tag

HTML 1aa9e5d373740b65a0cc8f0a02150c53 tag is mainly used to introduce the homepage

Example

Introduction to the homepage:

<header>
<h1>Welcome to my homepage</h1>
<p>My name is Donald Duck</p>
</header>
<p>The rest of my home page...</p>

Definition and usage

1aa9e5d373740b65a0cc8f0a02150c53 tag defines the header (introduction information) of the document

HTML 4.01 and HTML 5 The difference between the

1aa9e5d373740b65a0cc8f0a02150c53 tag is a new tag in HTML 5

global attribute

1aa9e5d373740b65a0cc8f0a02150c53 tag Support global attributes in HTML.

Event attributes

The1aa9e5d373740b65a0cc8f0a02150c53 tag supports event attributes in HTML.

The above is the detailed content of How to use html header tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:How to use html kbd tagNext article:How to use html kbd tag

Related articles

See more