Headings & Paragraphs of HTML

Headings of HTML

  • HTML headings are titles or subtitles that you want to display on a webpage.
  • HTML headings are defined with the <h1> to <h6> tags.
  • <h1> defines the most important heading. <h6> defines the least important heading

This is a Syntax of heading Tags:

p-tag1

This is a Output of heading Tags:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 5

Paragraphs Of HTML

  • HTML paragraphs are defined with the <p> tag.
  • A paragraph always starts on a new line, and browsers automatically add some margin before and after a paragraph.

This is a Syntax of </p>

p-tag2

This is a Output of </p>

p-tag3