Home >Web Front-end >HTML Tutorial >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!