Skip to main content
🌐 HTML Basics

Headings & Paragraphs

Now you'll write your first tags! A heading uses <h1> and a paragraph uses <p> β€” each one opens and closes around your words.

<h1>My Blog</h1>
<p>Welcome to my little corner of the web.</p>

Remember from the last lesson: every tag opens (<p>) and closes (</p>), with your text in between. Forgetting the closing tag is the most common slip β€” if a test fails, check that every <h1> has a matching </h1>.

You can drag the blocks in (in order) instead of typing from scratch, or tap the hint to fill it in step by step.

Your task

Add an <h1> containing the text Welcome and a <p> containing Hello there.

⚑ 20 XP

Hints

index.htmliframe
Loading editor…
Preview
Run your code to see test results.