Menu

What Is HTML? Explained Simply for Beginners
📰

What Is HTML? Explained Simply for Beginners

DEV Community: beginners·Lavkush Kumar·2 days ago
#NxFmcqqn
#devtobeginners#devto#dev#chai#html
Long article (1454 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on CodingCush .

HTML is the language that gives a web page its structure. It stands for HyperText Markup Language. Tags are small labels that tell the browser "this is a heading" or "this is a paragraph", and the browser turns those labels into the page you see. HTML does not decide colours or layouts, and it does not make buttons do things when clicked. It builds the skeleton. The rest is added on top.

First, What a Tag Actually Is

A tag is a short instruction inside angle brackets, like <p> . Most tags come in pairs: open <p> , write text, close </p> . The three parts together are called an element. Here is the smallest one:

<p>Chai is ready.</p>

Enter fullscreen mode

Exit fullscreen mode

Expected output: one plain line: "Chai is ready." Some tags carry attributes, extra information inside the opening tag, such as lang="en" , which says the page is in English.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.