Menu

HTML Explained: The Skeleton Every Website Is Built On
πŸ“°

HTML Explained: The Skeleton Every Website Is Built On

DEV Community: htmlΒ·The Practical DeveloperΒ·1 day ago
#CBclJgmj
#devto2#devto#dev#html#tags
Reading 0:00
15s threshold

Introduction

Every website you have ever visited is, underneath, an HTML document. HTML (HyperText Markup Language) is not a programming language β€” it has no logic, no loops, no variables. It is a way of describing structure: this is a heading, this is a paragraph, this is a link, this is a list. Everything else β€” CSS for styling, JavaScript for behaviour β€” builds on top of that structure.

Tags, elements, and nesting

HTML is made of tags in angle brackets. Most come in pairs: an opening tag, content, and a closing tag.

<article> <h1> The Practical Developer </h1> <p> Practical tutorials, tools, and tips for developers. </p> <a href= "https://practicaldevblog.blogspot.com/" > Visit the blog </a> </article>

Enter fullscreen mode

Exit fullscreen mode

<article> groups a self-contained piece of content, <h1> is the main heading, <p> is a paragraph, and <a> is a link whose destination lives in the href attribute.…

Continue reading β€” create a free account

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