PROVIDING ACCURATE, RELIABLE AND STRAIGHT TO THE POINT KNOWLEDGE ABOUT DIFFERENT IT TOOLS EXPLAINED WITH PRACTICAL EXAMPLES

Html-heading TAG AND ITS ATTRIBUTES

After going through the main tags of the HTML i.e. HTML tag, HEAD tag AND BODY tag let us start understanding the main SHOW part of HTML  which comes under BODY TAG.

IN THIS ARTICLE WE’LL DISCUSS ABOUT HEADING TAG.

Html-WHAT IS HEADING TAG?

HEADING TAG tells the browser that the coming content is to be treated as HEADER.

Header is a big and large text to emphasize that the text is of more importance which usually is done to make an text a HEADING.

Html-TYPES OF HEADING TAGS

There are SIX levels of HTML HEADING TAGS.

Starts with H1, most important through H2,H3,H4,H5 and finally H6, the least important.

The Size also goes on going smaller as we go lower the heading levels.

There is no need of using H1 if we want to directly use H2 or lower headings.

Its just an order which applies when all the headings are present.

The following example shows the headings.

Html-EXAMPLE OF HEADING TAGS

HEADINGS EXAMPLE IN HTML
HEADING EXAMPLE CODING
gyankosh.net arrow
HEADING EXAMPLE OUTPUT IN HTML
HEADING EXAMPLE OUTPUT

HTML-UNDERSTANDING THE BASICS OF TAGS

Let us now understand the coding of the page and learn how the html is parsed by the web browser.

The text written in between <> are called TAGS. The HTML works on the basis of TAGS.

As soon as any tag comes across, the browser takes it as a command to start that effect. The TAG is closed by </> notation.

e.g.

We started with <HTML>

and ended with </HTML>.

 

UNDERSTANDING THE TAGS OF THE hello world page

The HELLO WORLD page is very simple. As already discussed, there are two TAGS used in this page.
HTML and BODY.
<HTML> tag is the outermost tag of any HTML FILE. The content of the page starts from the <HTML> TAG AND ENDS AT </HTML> tag.
 
<BODY> tag contains the content of the page, the content which will be shown in the page is in the <BODY> TAG.
Rest of the tags are discussed in next lessons.
 

 

OTHER WAYS TO REACH THIS ARTICLE

  • OPEN TWO EXCEL WINDOWS, WHY DOES EXCEL OPENS IN TWO WINDOWS, WINDOWS EXCEL, WINDOWS IN EXCEL, HOW TO SPLIT WINDOWS IN EXCEL, ANIMATED EXAMPLE OF CREATING AND ARRANGING WINDOWS IN EXCEL

LEARN

  • EXCEL
  • JAVASCRIPT
  • MORE TO COME…

©GYANKOSH.NET

Pin It on Pinterest

Share This

KINDLY SPEND FEW SECONDS HERE....

%d bloggers like this: