1: What does header mean?
Header is a structural element with navigation function, which may contain some title elements and other elements. Such as search form, navigation, logo, etc., the header element that generally appears at the top of the page or near this position becomes the header of the entire page.
2: How to use header
If a page contains multiple content blocks, you can add a header element to each content block. In other words, a page can have Any number of header elements, their meaning can vary depending on context.
The
<body> <header> <nav> <ul> <li><a href="http://www.php.cn/">php中文网</a> <li><a href="http://www.php.cn/">php中文网</a> <li><a href="http://www.php.cn/">php中文网</a> </ul> </nav> <h1>php中文网</h1> <h2>php中文网</h2> <p>php中文网</p> <h2>php中文网</h2> <p>php中文网</p> </header> </body>
The above is the detailed content of What does header mean?. For more information, please follow other related articles on the PHP Chinese website!