Skip to main content

Types Of Headings In HTML

HTML Hedings

Headings in HTML are used to display Titles, Sub-Titles of Sub-Sub-Titles for your web page text. There are six types of headings in HTML. H1 is the largest heading and H6 is the smallest heading. <H1> is opening tag whereas </H1> is the closing tag for the largest heading. The text between <h1> and </h1> will be displayed as the main Title in your web page. Following are the six tags used for six types of headings in HTML.

  1. <H1> ... </H1>
  2. <H2> ... </H2>
  3. <H3> ... </H3>
  4. <H4> ... </H4>
  5. <H5> ... </H5>
  6. <H6> ... </H6>




The H1 heading is used for main titles. Actually H1 heading will show the text in largest font size. H2 headings is used for Sub-Titles. H2 displays text in smaller font size than H1, H3 displays text of font size smaller than H1 and H2, and so on. H1 is for largest heading in a text page and H6 is for smallest heading.  

Importance Of Headings in SEO

Headings are important not only, for specifying Titles and Sub titles in a web page, but they play an important role to enhance Search Engine Optimization of your web page in major Search engines like Google and Yahoo. Search engines use your headings, especially H1 and H2 headings, to index the structure and content of your web pages. Therefore, proper use of headings may improve your web page's search engine optimization.

Example HTML Code and Output

HTML Code for Six HeadingsOutput in Web browser
<h1>First Heading</h1>
<h2>Second Heading</h2>
<h3>Third Heading</h3>
<h4>Fourth Heading</h4>
<h5>Fifth Heading</h5>
<h6>Sixth Heading</h6>


First Heading

Second Heading

Third Heading

Fourth Heading

Fifth Heading
Sixth Heading


Comments

Popular posts from this blog

Explain Main Difference Between System Software and Application Software

Topic: Explain Main Difference Between System Software and Application Software            Differentiate between system software and application software Before , explaining the main differences between application software and system software, let us know the definitions of Application software and System software with examples. What is System Software: System software is a set of programs to control all components of computer and to manage overall operations of computer system. Differences between System software and application software System software is used as a base to install and run all application software. Examples of system software include: Operating Systems, like Microsoft Windows, DOS, Unix and Linux Device Drivers like Device driver software of a Printer (found on CD normally provided with the printer) Utility Programs like AVAST anti virus, Disk Scanners and File Viewers etc. What is Applicat...

Paper Pattern For B.Sc. ACS - Advanced Computer Studies Class Islamia University Bahawalpur

Download Paper Pattern For B.Sc. Advanced Computer Studies ACS Class Islamia University Bahawalpur The Islmia University of  Bahawapur REVISED CURRICULUM of ADVANCED COMPUTER STUDIES (ACS) For B.A / B.SC.EXAMINATION 2005 & ONWARDS Paper Pattern For ACS, B.Sc. Advanced Computer Studies, Islamia University Bahawalpur COURSE MARKS: 200 THEORY: 160 PRACTICAL & PROJECT: 40 ACS - Third Year (B.Sc Part-I) Paper I, II and C++ practical will be offered in the third year  ACS - Fourt Year  (B.Sc Part-II) Paper III. IV and project work will be offered in fourth year.  Paper I, II, III and IV all have two sections each which carry equal mark. THIRD YEAR PAPER – I Introduction to information Technology 40 PAPER -II Programming using C++ 40 PROJECT PRACTICAL using C++ 20 FOURTH YEAR PAPER -III Data Base Management system 40 PAPER-IV Introduction to Web Programming 40 PROJECT 20 ASSESSMENT METHOD ...

Explain Different Types of Software

Topic:  Different Types of Software with Examples Types of Software Different Types of Software with Examples There are two  main types of software  -  system software and application software . Let us discuss these types of software in detail with examples of each. System Software System software is a set of programs used to implement certain functions in a computer system. System software  controls the overall operations and components of a computer system. We can say that system software is the base on which application programs are executed. System software provides an interface between user and computer. Users use this interface to interact with the computer and perform different jobs on computer. Operating systems like Windows, Linux and Unix are the main example of system software . Similarly device drivers software are also examples of system software. Examples of system software Examples of system software are as follows: •...