Headline with the h1,h2 Elements

What is Heading Element:-

Headline element tell the browser about the structure of your web page. 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. h1 element are often used for main heading and h2 used for as a subheading of your web page and h3, h4, h5......... so on.
Here you will learn how to give headline in your web page with the h1 & h2 element. We can create a simple web page by using below HTML code.

For Example:

<title> your web page title name </title>
<h1> your first heading </h1>
<h2> your second heading </h2>
<p> your paragraph </p>



Please Share To Other:

Post a Comment