How to use html header tag

silencement
Release: 2019-05-27 10:33:37
Original
7065 people have browsed it

How to use html header tag

HTML

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>
Copy after login

Definition and usage

tag defines the header (introduction information) of the document

HTML 4.01 and HTML 5 The difference between the

tag is a new tag in HTML 5

global attribute

tag Support global attributes in HTML.

Event attributes

The

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!

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