Text

HTML Headings

  • Six (6) levels of headings
  • h1 tags is used for main headings
  • h2 tags are used for subheadings
  • Remaining level headings used as needed based on your content hierarchy

Browsers display headings differently, but relative sizes will always be consistent (by default) - i.e. h1 will always be bigger than h2

JS Bin on jsbin.com


Paragraphs

  • Use <p> element to display paragraphs

  • By default, browser displays each paragraph on a new line

JS Bin on jsbin.com