Advertisement

HTML Basic

Previous Lesson 4 of 114 Next
Advertisement
Lesson Overview: Practice fundamental HTML tags: headings, paragraphs, links, and images.

Essential Building Blocks

Most web pages start with four core elements: headings (<h1> to <h6>), paragraphs (<p>), hyperlinks (<a>), and images (<img>).

  • <h1> defines the most important heading; <h6> defines the least important
  • <p> creates a vertical block paragraph with automatic spacing
  • <a href="..."> links users to another URL or page section
  • <img src="..." alt="..."> embeds an image with accessible fallback text

Headings, Paragraphs & Links (Editable — type & Run)

Advertisement

Test Yourself With Exercises

Create a hyperlink pointing to https://gk247.in/:

<a ="https://gk247.in/">Visit GK247</a>
Pro Tip: Always include meaningful alt text on images for screen readers and SEO.
Advertisement