What is HTML

Every website you have ever visited starts as a plain text document written in HTML. The headings, paragraphs, buttons, images, and links you see on a page are all described in this one language. Before you can style a page or make it interactive, you describe what is on it, and that description is HTML.
A page is just structured text
HTML stands for HyperText Markup Language. The important word is markup: HTML is a way of taking plain text and marking up which parts are headings, which are paragraphs, which are links, and so on. You are not giving the computer instructions to follow. You are labelling content so the browser knows what each piece is and how to show it.
Think of it like formatting a document by hand. You circle the title, underline the section headings, and draw a box around a photo. HTML is how you do that circling and underlining in a way a browser understands.
<h1>Welcome</h1>
<p>This is a paragraph of text on my first web page.</p>Two lines, two pieces of structure: one heading and one paragraph. The browser reads the labels and shows the first line large and bold, the second as ordinary body text.
Elements, tags, and attributes
Most of HTML is made of elements. An element usually has an opening tag, some content, and a closing tag:
<p>Hello there.</p><p> is the opening tag, </p> is the closing tag (note the slash), and "Hello there." is the content in between. Together they make a paragraph element. The tags are the labels; the content is what the visitor reads.
You can also give a tag extra information with an attribute. A link needs to know where it goes, so you tell it with an href attribute:
<a href="https://scrimba.com">Visit Scrimba</a><p>...</p>. Attributes go in the opening tag and add details, like where a link points. Do not worry about memorising every tag. You will learn them a handful at a time as you need them. How HTML, CSS, and JavaScript split the work
A finished web page is usually built from three languages, and each has one job:
- HTML is the structure: the headings, text, images, and buttons.
- CSS is the style: the colours, fonts, spacing, and layout.
- JavaScript is the behaviour: what happens when you click, type, or scroll.
A common way to picture it: HTML is the walls and rooms of a house, CSS is the paint and furniture, and JavaScript is the electricity that makes things switch on. You are learning the walls first, because there is nothing to paint or wire up until the structure exists.
Your first look at a full page
Here is a complete, if tiny, web page. You will meet every part of it properly in the next chapters, so do not worry about the details yet. For now, notice that it is all made of the tags and attributes you have already seen:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>My first page</title>
</head>
<body>
<h1>Welcome</h1>
<p>This is a paragraph of text on my first web page.</p>
</body>
</html>Read from the top: the first line tells the browser this is a modern HTML page, <html> wraps everything, <head> holds behind-the-scenes information like the page title, and <body> holds what you actually see. The heading and paragraph from earlier live inside the body, because they are content for the visitor.
<html> wrapping a <head> and a <body>. The head is behind-the-scenes info, the body is what people see. You will take this apart properly next, so a quick look is all you need right now. 
