HTML me header tag kya hota hai kaise use karte hai

Aaj hum HTML HEADING ke bare me jannenge ..

yadi apne humare HTML ke isse pahle se post nai dekhe hai to dekh lijiye and yadi direct ye study karoge to thoda problem ho sakta hai samjhne me .. link niche de diya hu ↓↓

HTML BASIC TAGS(HTML HEAD TITLE BODY)

To chalo ab hum HTML HEADING ke bare me jante hai
  • HTML HEADERS (HEADING)
   HTML header <h1> se <h6> tak ha hota hai means iska use heading dene ke lilye kiya jata hai..
1)  <h1> text </h1>   
   iska use heading dene ke liye karte hai 

2) <h2> text </h2>  
     same iska bhi use heading dene ke liye karte hai ye h1 se thoda chhota hota hai

3)  <h3> text </h3>   
     same iska bhi use heading dene ke liye karte hai ye h2 se thoda chhota hota hai

  4) <h4> text </h4>  
     same iska bhi use heading dene ke liye karte hai ye h3 se thoda chhota hota hai

  5) <h5> text </h5>   
      same iska bhi use heading dene ke liye karte hai ye h4 se thoda chhota hota hai

  6) <h6> text </h6>   
      same iska bhi use heading dene ke liye karte hai ye h5 se thoda chhota hota hai 
  • HOW TO USE HEADER IN HTML (<h1>,<h2>,<h3>,<h4>,<h5>,<h6>)
ye sabhi header ko tag kaha jata hai jiska use hum yaha karenge (html me)
header tag ka use HTML me <BODY> tag ke bad hota hai   means body ke under likha jata hai use kiya jata hai .
  • PRACTICAL EXAMPLE HTML HEADER
code start 
<HTML>
<HEAD>
</HEAD>
<TITLE>
</TITLE>
<BODY>
<H1> THIS IS MY FIRST PROGRAM </H1>   

<H2> THIS IS MY FIRST PROGRAM </H2>   '

<H3> THIS IS MY FIRST PROGRAM </H3>   

<H4> THIS IS MY FIRST PROGRAM </H4>   

<H5> THIS IS MY FIRST PROGRAM </H5>   

<H6> THIS IS MY FIRST PROGRAM </H6>   

  </BODY>
</HTML>

code complete ab save karenge 
NOTE- Save karte time extension name .html dena hota hai .
fir browser pe run karate hai . simple hum jo save kiye hai us folder me ja kar apne .html wale file ko open karenge . automatic browser open ho jayega . fir output display hoga .

OUTPUT

THIS IS MY FIRST PROGRAM

THIS IS MY FIRST PROGRAM

THIS IS MY FIRST PROGRAM

THIS IS MY FIRST PROGRAM

THIS IS MY FIRST PROGRAM
THIS IS MY FIRST PROGRAM
Yaha per hum output per dekh rahe hai ki h4 h5 h6 same size dikh raha hai to hum h1 h2 h3 h4 tak ka hi tag ko use karte hai baki 2 ko nai karte .
AGE hum or v tag dekhenge .. 
THANK YOU
BE HAPPY









Post a Comment

0 Comments