Skip to main content

|| HTML Heading | what is h1 to h6 tags | Importance of Heading in HTML website ||

 HEADING IN HTML


                     Click to Watch the video

Headings help in defining the hierarchy and the structure of the web page content.

HTML offers six levels of heading tags, <h1> through <h6>; the higher the heading level number, the greater its importance — therefore <h1> tag defines the most important heading, whereas the <h6> tag defines the least important heading in the document.

HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading. The heading elements are H1, H2, H3, H4, H5, and H6 with H1 being the highest (or most important) level and H6 the least.

By default, browsers display headings in larger and bolder font than normal text. Also, <h1> headings are displayed in largest font, whereas <h6> headings are displayed in smallest font.

EXAMPLE : 

  <h1>Heading level 1</h1>

<h2>Heading level 2</h2>

<h3>Heading level 3</h3> <h4>Heading level 4</h4> <h5>Heading level 5</h5> <h6>Heading level 6</h6>

Importance of Headings

  • HTML headings provide valuable information by highlighting important topics and the structure of the document, so optimize them carefully to improve user engagement.
  • Don't use headings to make your text look BIG or bold. Use them only for highlighting the heading of your document and to show the document structure.
  • Since search engines, such as Google, use headings to index the structure and content of the web pages so use them very wisely in your webpage.
  • Use the <h1> headings as main headings of your web page, followed by the <h2> headings, then the less important <h3> headings, and so on.


Comments

The Most Populer

SideBar PLUS Icon with animation

SideBar PLUS Icon with Animation || POP UP icon Box || Icon Interaction in HTML                      Here is the best code for pop up icon box with the animation effect. These icons will be use in the many website for users attraction. Do the code now..! #CODE : --     <!DOCTYPE html> <html>     <head>         <title>Page Title</title>         <style type="text/css">             * {     margin: 0;     padding: 0;     box-sizing: border-box; } body {     display: flex;     justify-content: center;     align-items: center;     min-height: 100vh;     --light-color: #f8f9fd;     background: #FF6347; } .container {     position: relative;     display: flex;     flex-wrap: wrap; ...

Aatmnirbhar Bharat 2020 | आत्मनिर्भर भारत | Bharat Navnirman | best article in marathi

#VocalForLocal   #DigitalIndia     #Swadeshi     #BeIndianBuyIndian   आत्मनिर्भर भारत              निसर्गाकडे लक्ष्य दिले तर एक बाब लक्षात येते कि , एक सजीव प्राणी दुसऱ्या सजीव प्राणी निर्माण करतो , तसेच दुसऱ्या प्राण्यावर अवलंबून असतो नंतर मात्र हा नवीन सजीव आत्मनिर्भर होतो व स्वतंत्र पने जगू लागतो.                     प्राचीन भारतीय समाजव्यवस्थेवर एक नजर टाकल्यास प्रामुख्याने एक बाब  लक्षात येते कि प्राचीन खेडी (छोटे गाव ) हि स्वयंपूर्ण होती. आणि सर्वात महत्वाची गोष्ट हि कि , त्यांच्या सर्व गरजा  ह्या त्यांच्या खेड्यातच पूर्ण व्हायच्या. हि गवे इतरांवर अवलंबून व परावलंबी मुळीच नव्हती . मुळात यालाच आपण आत्मनिर्भरता असे म्हणू शकतो . पण काळाच्या ओघात शासनव्यवस्था बदलत गेली आणि हि स्वयंपूर्ण असलेली खेडी पुढे परावलंबी बनत गेली . यालाच आपण गुलामगिरी म्हणू शकतो , आणि एकदा का आपण गुलाम झालो कि आपली अस्मिता , विद्वत्ता व कचरा यात थोडाही ...

Random Captcha Generator

 How to generate random captcha || JAVASCRIPT techinc Here, you will going to teach how to generate random captcha by javascript #CODE: <!DOCTYPE html>     <html>         <head>             <title></title>         </head>         <body>             <canvas width=150 height=70 style="border:1px solid black;"></canvas><br>             <button style="width:150px;             height:40px;             color: red;             -webkit-tap-highlight-color:rgba(0,0,0,0);" onclick="generateCaptcha()">Generate Captcha</button>             <style type="text/css">                 body{     ...