Skip to content

Instantly share code, notes, and snippets.

@adeisbright
Created August 17, 2021 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeisbright/dabaa47449500fdbbfddd068cf182b1a to your computer and use it in GitHub Desktop.
Save adeisbright/dabaa47449500fdbbfddd068cf182b1a to your computer and use it in GitHub Desktop.
Create Heading in your page

HEADING

Well written documents are hierarchical. The main point or points in the document are abstracted in to concise and easy to understand group of words. To create headings for different sections of our document, HTML offers six heading elements. They are:

  • h1
  • h2
  • h3
  • h4
  • h5
  • h6 The main heading in a page should be structured using h1. Subsequent headings can use any sub-level headings but ensure tags with lower sub-level headings do not precede those with higher level-heading. The example below will be used in explaining our point. We are offering two examples to hit the point straight Example 1

About Bigjara

Bigjara makes learning fun , and programming easy

Bigjara Services

Bigjara offers unique services of which includes the following :

  • Coding Training
  • Business Automation

The example below is a wrong use of heading Example 1

About Bigjara

Bigjara makes learning fun , and programming easy

Bigjara Services

Bigjara offers unique services of which includes the following :

  • Coding Training
  • Business Automation

If you observe the contents in the browser, you will notice some appear to fill the entire width of the browser. Elements like paragraph and heading are known as block elements. By default, they will occupy the entire width wherever they occur in a document

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment