HTML Heading

Updated:11/17/2024 by Computer Hope

Most important HTML tag from SEO point of view is Heading

Most important HTML tag from SEO point of view is Heading tag.
Html have 6 heading tag that is define as H1 , H2 , H3 ,H4 ,H5 ,H6 .
Heading is reponsible for deciding heading keyword in google serarch optimization
We have seen few HTML tags and their usage like heading tags <h1>,<h2>, paragraph tag <p>and other tags

Below is an example of a basic web page written in HTML with a description of each section and its function.
   <!-- 
Example contain a Headng Tag  of html.
It is  just create a simple web page in web browser
Note : open note paid and Save this code on notepad with extension of .html 
then right click and select option of Open with in Window user ,run with any browser and display output .
   -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html>
           <head>
            <title>Example page</title>
            <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
           </head>
           <body>
            <h1>This is a heading</h1>

          <!--
           here you can able see attribute of Heading Tag
          -->

          
              <h1> Heading 1</h1> 
              <h2> Heading 2</h2> 
              <h3> Heading 3</h3> 
              <h4> Heading 4</h4> 
              <h5> Heading 5</h5> 
              <h6> Heading 6</h6> 
              

            <img src="images/smiley.webp" width="30" height="30" alt="Smiley"> 
            <a href="https://www.google.com/" title="Search Engine"> Google</a> 
            <a title="Hyper Text Markup Language"> HTML </a> 
            <input type="text" value="John Doe"> 
          
            <p>This is an <b>example</b> of a basic HTML page.</p>
           </body>
   </html>

Features of HTML Heading

  • All HTML elements can have attributes
  • Attributes provide additional information about elements
  • Attributes are always specified in the start tag
  • Attributes usually come in name/value pairs like: name="value"

Top Most Html Article