HTML Headings and Paragraphs | Learn HTML Headings and Paragraphs | HTML Paragraphs

HTML Headings:

HTML headings are defines in different sizes and formats that you want to display on a web page.

Example

Title 1

Title 2

Title 3

Title 4

Title 5

Title 6

HTML headers:

HTML headers are defined with <h1> to <h6> tags.

<h1> defines the most important header. <h6> defines the least important header.

Example:

<h1> Heading 1 </h1>

<h2> Heading 2 </h2>

<h3> Heading 3 </h3>

<h4> Heading 4 </h4>

<h5> Heading 5 </h5>

<h6> Heading 6 </h6>


Are Titles important?

Search engines use titles to index the structure and content of your web pages.

Users often browse a page for its titles. It is important to use titles to show the structure of the document.

The <h1> headings should be used for the main headings, followed by the <h2> headings, then the less important <h3> headings, and so on.

Important Suggestion:

 Use HTML titles only for titles. Don't use titles to make text BIG or bold.

Larger headers:

Each HTML header has a default size. However, you can specify the size of any header with the style attribute, using the CSS font-size property:

Example:

<h1  80px;"> Heading 1 </h1>

As we all know that "practice makes a man perfect", so do more and more practice to make yourself perfect.

<p> Hi, I am making my first web page for my first ever website. And this is my first paragraph. </p>

You can read other related topics:

HTML Tags List With Description:
What are HTML Attributes:

HTML Paragraphs:

<p> tag is used to show any text on a web page. All the text is written inside the <p></p> tags to show on the web page.