HTML stands for HyperText Markup Language. That's a fancy way of saying: "It tells browsers what's a heading, what's a paragraph, and what's a link that goes nowhere."
Think of HTML as the skeleton of a website. CSS is the skin and clothes. JavaScript is the personality (sometimes annoying).
The Skeleton
HTML = Structure
Without it, your website is just... content soup. Nobody wants content soup.
The Pretty Part
CSS = Style
Makes the skeleton look less... skeletal. Important, but not first.
The Brain
JavaScript = Behavior
Makes things move, click, and do stuff. Can't work without HTML first.
The Hard Truth
You can have a website with only HTML. You cannot have a website with only CSS or JavaScript.
HTML is the foundation. Everything else is decoration. Decorate a bad foundation = still bad.
<!DOCTYPE html>
<html>
<head>
<title>My First Website</title>
</head>
<body>
<h1>Hello World</h1>
<p>This is a website. It's not much, but it's honest work.</p>
</body>
</html>
The !DOCTYPE Thing
That <!DOCTYPE html> at the top? It's not a tag. It's a declaration.
It tells the browser: "Hey, this is HTML5. Act accordingly."
Without it, browsers get confused. Confused browsers = bad times.