HTML headlines with h2 elements.


  • The h2 headings are also called level two headings, these add level two headings to the web page.
  • This element tells the browser about the structure of your webpage.
  • the h2 headings are usually for subheadings.
  • The structure of h2 heading is the same as the h1 heading,i.e., it also has an opening tag and a closing tag.
  • Some examples of h2 tags are:

  • <h2>This is my programming website where I post my blogs about programming</h2>

  • note that while using HTML tags one must always use the h2 tag after the h1 tag, keeping in mind the functioning of these tags,i.e., the h1 tag is the main heading tag and the h2 tag is the secondary heading tag.
  • There are also h3, h4, h5, tags for indicating different levels of sub-headings.

1 comment:

  1. Nice thought! such a informative things you are sharing ,I really liked your content. If you wanna know about "Gurukripa Career Institute | Top NEET Coaching in Sikar and Alwar" go to Best NEET Coaching in Sikar

    ReplyDelete