Home > Web Front-end > HTML Tutorial > Add header to document or section in HTML5?

Add header to document or section in HTML5?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-09-16 15:21:08
forward
1288 people have browsed it

Add header to document or section in HTML5?

Add headers using the

tag in HTML5. HTML
tag specifies the header of a document or section.

Example

You can try running the following code to include the header of the document -

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Header Tag</title>
   </head>
   <body>
      <header>
         <h1>Simply Easy Learning</h1>
         <p>You&#39;re visiting tutorialspoint.com -
         tutorial hub for simply easy learning.</p>
      </header>
   </body>
</html>
Copy after login

The above is the detailed content of Add header to document or section in HTML5?. For more information, please follow other related articles on the PHP Chinese website!

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