Tutorials Courses Interview Prep (100 Q&A) AI Tools (50) Developer Tools (50) Tracks Pricing Plans Blog & Articles Contact Us
Typography, Formatting, Links & Lists 12 mins read Free Lesson

Headings, Paragraphs & Text Formatting

Master semantic headings h1 through h6, paragraph tags, strong emphasis, blockquotes, and code tags.

Document Outline with Headings

HTML provides six levels of section headings: <h1> (highest level) to <h6> (lowest level). Search engines and screen readers use headings to understand the document structure.

<h1>Master Modern Web Development</h1>
<h2>Frontend Engineering</h2>
<h3>HTML5 Semantic Architecture</h3>

Formatting Elements:

  • <strong>: Important text (rendered bold by default).
  • <em>: Emphasized text (rendered italic by default).
  • <mark>: Highlighted or marked text.
  • <code>: Inline computer code snippet.
  • <pre>: Preformatted text with whitespace preservation.
  • <blockquote>: Represents content quoted from an external source.