HTML Header Tag

HTML

tag
is used as a container of introductory content or navigation links. Generally a
element contains one or more heading elements, logo or icons or author's information.

You can use several

elements in one document, but a
element cannot be placed within a
,
or another
element.

HTML Header Tag Example

Test it Now

Output:

ABCOnline.com

World's no.1 shopping website


Let's see another example of header tag with CSS code.

CSS Code:

HTML Code:

Test it Now

Output:

ABCOnline.com

World's no.1 shopping website


Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML hr Tag




Contact US

Email:[email protected]

HTML header Tag
10/30