HTML (HyperText Markup Language) is the language used to create web pages. Every website you visit is built with HTML. This topic covers basic HTML tags to create your first web page with headings, text, images, lists, and links.
Every HTML page has: <html> (root), <head> (title, metadata), <body> (visible content). Tags come in pairs: <tag>content</tag>. Basic tags: <h1> to <h6> (headings, h1 = biggest), <p> (paragraph), <br> (line break), <hr> (horizontal line). Save as filename.html and open in browser to view.
<img src="photo.jpg" alt="description"> — displays an image. <a href="https://example.com">Click here</a> — creates a clickable link. Unordered list: <ul><li>item</li></ul> (bullets). Ordered list: <ol><li>item</li></ol> (numbers). Combine to create a proper web page with navigation, content, and images.
No, HTML is a markup language, not a programming language. It structures and presents content (headings, paragraphs, images) but cannot perform logic, calculations, or make decisions. Programming languages (Python, JavaScript) can do those things. HTML tells the browser WHAT to display; CSS tells HOW it should look; JavaScript adds interactivity and logic.
Book a Trial + Diagnostic session. Get a personalized Learning Path with clear milestones, tutor match, and a plan recommendation — all within 24 hours.
Book Trial + Diagnostic →