HTML (HyperText Markup Language) is the backbone of every website. It defines the structure and content of web pages using tags and elements. Here's a quick guide to get started:

💡 What is HTML?

HTML is not a programming language but a markup language used to create web content. It tells browsers how to display text, images, and other media.

html_element

🧩 Core Structure

A basic HTML document includes:

  • <!DOCTYPE html>: Declares the document type
  • <html>: Root element containing all page content
  • <head>: Metadata about the document (e.g., title, styles)
  • <body>: Visible content on the webpage

Example:

<!DOCTYPE html>
<html>
  <head>
    <title>My First Page</title>
  </head>
  <body>
    <h1>Hello, World!</h1>
  </body>
</html>
html_tags

📌 Common Elements

Element Purpose
<h1> to <h6> Headings (h1 is largest, h6 is smallest)
<p> Paragraphs
<a> Hyperlinks
<img> Images
<ul> / <ol> Unordered/Ordered lists

Try creating your own HTML page! 🚀

html_structure

For deeper learning, check out our HTML Advanced Topics guide.