Friday, September 1, 2023

Header Tag in HTML

Document

Header Tag in HTML Header tag is used for introduction of your content and define top section of your web-page or for navigational links, logos, icons and images. A header tag can nest in another header tag.

Syntax:
< header>
data should be here.
< /header>.
Code:
< !DOCTYPE html>
< html>
< head>
< title>My Website
< /head>
< body>
< header>

My Website

This is the header of your web-page


< /header>
< /body>
< /html>

No comments:

Post a Comment

Digital Clock using html , java , CSS

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < met...