htmlHow to set header: First create an HTML sample file; then enter the "
" tag in the body; finally enter the document or part of the document in the tag Just the header content.
The operating environment of this article: Windows 7 system, HTML5 version, Dell G3 computer.
How to set header in html?
In a document, you can define multiple
Note: The
Note: IE 9, Firefox, Opera, Chrome and Safari support the
Note: IE 8 or earlier does not support the
Example: The header of
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>/title> </head> <body> <article> <header> <h1>Internet Explorer 9</h1> <p><time pubdate datetime="2011-03-15"></time></p> </header> <p> Windows Internet Explorer 9(缩写为 IE9 )是在2011年3月14日21:00发布的</p> </article> </body> </html>
Effect:
##[Recommended learning:html video tutorial】
The above is the detailed content of How to set header in html. For more information, please follow other related articles on the PHP Chinese website!