4 min read · Free · No login needed
HTML stands for HyperText Markup Language. It is the standard language used to create web pages. Every website you open — Google, YouTube, kamaldnp.com — is built on HTML at its core.
HTML is not a programming language. It is a markup language. That means you do not write logic or calculations in it. You write tags that tell the browser what each part of the page is: this is a heading, this is a paragraph, this is a picture, this is a link.
When you type a website address, your browser asks a server for the page. The server sends back an HTML file. The browser reads the tags in that file and draws the page on your screen — text, images, buttons, and all.
HTML works together with two other technologies. CSS controls how the page looks — colours, fonts, spacing. JavaScript controls how the page behaves — clicks, animations, and forms. You will meet both later in this course, but HTML always comes first, because it is the skeleton of the page.
You need only two free tools: a text editor (like Notepad on Windows, or VS Code) and a web browser (like Chrome). Write the code, save the file with a .html ending, and open it in the browser. That is all. No internet connection is needed to practise.
HTML is the language that gives a web page its structure. Think of a house: HTML is the walls, the rooms, and the doors. CSS is the paint and the furniture. JavaScript is the electricity and the moving parts. Without HTML there is no page at all — only an empty browser window.
Every HTML page follows the same skeleton. It starts with <!DOCTYPE html>, which tells the browser this is a modern HTML5 page. Then comes <html>, which holds everything. Inside it are two parts: <head> for information about the page, and <body> for everything you see on the screen.
<!DOCTYPE html> <html> <head><title>My page</title></head> <body><h1>Hello</h1></body> </html>
<!DOCTYPE html>, is not a tag — it is a declaration. It must be the very first line of the file, with nothing before it, not even a blank line..html ending, or the browser will treat it as plain text.<!DOCTYPE html> — the very first line. It tells the browser this is a modern HTML5 page, so the browser knows how to read it.<html> ... </html> — the root element. Everything on the page sits inside this pair of tags.<head> and <title>My First Page</title> — the title text appears on the browser tab, not on the page itself. Nothing inside the head is visible on the screen.<body> ... </body> — everything the visitor actually sees goes inside the body.<h1>Hello, World!</h1> — the main heading of the page, shown in large bold text.<p>This is my first web page.</p> — a paragraph of normal text under the heading.<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is my first web page.</p>
</body>
</html>
Change the code below and press Run to see the result instantly. No file to save, no login needed.
The questions learners ask most about this lesson — read the question, then open it to see the answer.
HTML stands for HyperText Markup Language. It is the standard language used to create web pages.
No. HTML is a markup language, so you write tags that tell the browser what each part of the page is, not logic or calculations.
You need only two free tools: a text editor like Notepad or VS Code, and a web browser like Chrome. No internet connection is needed to practise.
Finished the lesson? Test yourself with 5 quick questions — you get the answer instantly, with the reason for each one.
1. What does HTML stand for?
2. Is HTML a programming language?
3. Which line must be the very first line of an HTML file?
4. In the house analogy, what is HTML?
5. Which file ending must an HTML file have?
Read the question first, try to answer it in your own words, then open it to check. These are the questions interviewers actually ask.
HTML (HyperText Markup Language) is the standard language used to create web pages. It describes the structure of a page — headings, paragraphs, links, images and forms. It is not a programming language; it is a markup language.
No. A programming language has logic — variables, loops, conditions. HTML has none of that. It only marks up content so the browser knows how to display it. JavaScript is the programming language of the web, not HTML.
HTML is the structure (walls, rooms, doors of a house), CSS is the presentation (paint, furniture, decoration), and JavaScript is the behaviour (electricity, moving parts — things that change and respond).
Reading is not enough — now build it yourself. Write the code in the live editor, run it, check the hint if you get stuck, and open the solution only after you have tried.
Create a page: the title must be "My First Page", the <h1> must have your name, and a <p> must say what you want to learn.
<!DOCTYPE html> <html> <head> <title>My First Page</title> </head> <body> <h1>Rahul Verma</h1> <p>I want to learn HTML and build my own website.</p> </body> </html>
AI can write code for you, but it cannot think for you. When you learn HTML yourself, your brain builds the real skill: you understand why a page looks the way it does, you can fix it when it breaks, and you can answer it in an exam or an interview without help. That is the skill that gets you a job — not a copied answer.
Finish all 35 lessons, pass the test (80%), pay ₹10 and get your certificate.
Take the testPrefer watching? Video courses teach the same topics step by step.
Free tutorials teach you the basics. Our paid courses add live projects, mentorship and a certificate.
Browse all coursesAsk about courses, website & more
Request human callback:
Please log in to download. You will stay on this page after logging in!
New here? Register now →