HTML Header Tag


In this blog, we learn 3 tags (header, hr, and HTML). with examples and output.

HTML

Tag

How to use Header Tag in HTML?

In this blog, we’ll show you how to use HTML

Tag. HTML
Tags are used to create introductory content or navigation. Typically, the
element contains one or more heading elements, logos or icons, or author information.

Note:- You can use multiple

elements in the same document, but the
element cannot be placed in the
,
or other
element.

We will see two examples of header tags below:-

Example1:- HTML

Tag.




  
  HTML Header Tag


This Is Header Tag example

Well-Come Myprograming

All materials are shown on HTML, CSS, JavaScript, Bootstrap, jQuery, and other
programming tutorials are available on myprogramming.

Output:-

Example2:- HTML

Tag with CSS Style.




  
  HTML Header Tag



This Is Header Tag example

Well-Come Myprograming

All materials are shown on HTML, CSS, JavaScript, Bootstrap, jQuery, and other
programming tutorials are available on myprogramming.

Output:-

How to use Hr Tag in HTML?

HTML


Tag

The HTML


Tag is used to specify the break of paragraph-level topics in a hypertext mark-up language document. It is used when you suddenly change your subject in your HTML document. It draws a horizontal line between them. It is collectively known as the horizontal decree hypertext mark-up language.

Note:- You can also customize the HTML


Tag by adding CSS style.

Example:-




  
  HTML hr Tag



This is HTML hr Tag example

Well-Come Myprograming


All materials are shown on HTML, CSS, JavaScript, Bootstrap, jQuery, and other
programming tutorials are available on myprogramming.


All materials are shown on HTML, CSS, JavaScript, Bootstrap, jQuery, and other
programming tutorials are available on myprogramming.

Output:-

What is HTML Tag?

HTML Tag

This Tag represents the origin of that HTML document and is therefore also referred to as the original element. And all the elements in it tell the browser that the document is an HTML document.

And before the Tag we just Ad that informs the browser about the HTML version.

Note:- You must always include a lang attribute within the tag to reveal the language of the web page. This is to help search engines and browsers.

Example:-




  
  HTML  Tag



This is HTML Tag example

Well-Come Myprograming

All materials are shown on HTML, CSS, JavaScript, Bootstrap, jQuery, and other
programming tutorials are available on myprogramming.

Output:-


Leave a Comment