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.…