Courses / HTML
Free Beginner Web Development

HTML & Web Foundations

Learn how websites are structured from the ground up using HTML. Build real pages while learning elements, attributes, links, images, forms, tables, semantic HTML and more.

24
Lessons
4 Weeks
Duration
8%
Progress

Lesson 3 of 24

10 min learning time

Headings and Paragraphs

Headings

HTML provides six heading levels, from h1 through h6. Use headings to organize information logically.

Paragraphs

The p element is used for normal paragraphs of text.

Good structure

Use headings based on the meaning of your content instead of choosing them simply because of their visual size.

Example HTML
<h1>Vinsoft Lab</h1>

<h2>Our Academy</h2>

<h3>Web Development</h3>

<p>
    Learn how to build modern websites
    using HTML, CSS and JavaScript.
</p>

Practical Exercise

Build it yourself

Create a page with one h1, two h2 headings and a paragraph under each h2.

Quick Check

Test your understanding

Which is the highest-level HTML heading?