HTML Introduction
HTML stands for HyperText Markup Language. It describes the structure of a web page: which part is a heading, which is a paragraph, where an image goes and where a link points.
HTML is not a programming language. It does not make decisions or do calculations. It simply labels content so the browser knows how to show it. CSS adds style, and JavaScript adds behaviour, as you will see in the other tutorials.
Think of building a house. HTML is the structure - walls, rooms, doors. CSS is the paint and decoration. JavaScript is the electricity that makes things work: lights, fans, the doorbell. Every website you visit - Google, Amazon, YouTube, Terixto - uses all three.
When you open a website, your browser (Chrome, Safari, Firefox) downloads an HTML file from the internet and turns it into the page you see. The HTML is just text with tags in angle brackets, like <h1>, that tell the browser what each piece of content is.
HTML is the best first step in web development. It's quick to learn, you see results instantly, and everything else - CSS, JavaScript, React, Angular - builds on top of it.
Your first page
Press Try it yourself below, change the words, and press Run to see your change.
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello, Terixto!</h1>
<p>This is my very first web page.</p>
</body>
</html>▶ Try it yourselfThis small page has everything a real page needs. The top line says it's a modern HTML page. The <head> holds information about the page - the title shown in the browser tab. The <body> holds what visitors actually see. Try changing the heading text and pressing Run - that's web development!
index.html and open it in any browser.- HTML gives a page its structure; CSS styles it; JavaScript adds behaviour.
- HTML uses tags in angle brackets to label content.
- A page has a head (information) and a body (visible content).
- All you need is a text editor and a browser.
