Tags

TL;DR: HTML tags are markers used to define elements within a document's content, encapsulating data to denote structure, formatting, and semantics for web browsers.
Share

A tag is a piece of HTML code that tells a web browser how to render an element on a web page. Tags are the workhorses of HTML and provide structure to this otherwise plain-text programming language. In the early days of the web, tags were used for layout purposes, but modern web design relies on CSS to keep content and layout separate. HTML tags and hashtags are unrelated.

Updated February 17, 2024

Axel Grubba is the founder of Findstack, a B2B software comparison platform, with his background spanning management consulting and venture capital where he invested in software. Recently, Axel has developed a passion for coding and enjoys traveling when he is not building and improving Findstack.