HTML & CSS

HTML Basics for Beginners

2026-04-27

What is HTML?

HTML stands for HyperText Markup Language. It is the standard language for creating web pages. Every website you visit is built on HTML.


Basic Structure

Every HTML document follows this structure.


My Page

Hello, World!


Headings

HTML has six levels of headings, from h1 to h6.


Main Title

Section Title

Subsection


Paragraphs and Text

Use p for paragraphs, strong for bold, and em for italic.


This is a bold and italic word.


Use the a tag to create hyperlinks.


Visit Example


Images

Use the img tag with a src attribute.


A description of the photo


Lists

Create unordered and ordered lists with ul, ol, and li.


  • Apples
  • Bananas


  1. First step
  2. Second step


Next Steps

Learn CSS to style your HTML and make it look great.