godz.online
Back to tools

TLDR reference

HTML tags

A searchable reference to the HTML elements, each with a one-line meaning and a flag for whether it is still legit or obsolete. Type to search, or filter by purpose. Everything runs in your browser.

114 shown

How it works

A searchable reference to the HTML elements, each with a one-line meaning and a flag for whether it is still legit or obsolete. HTML has well over a hundred tags and they are easy to mix up, so this groups them by what they do - document metadata, page structure, text, forms, tables, media, and interactive widgets - and lets you type to find one by name or by purpose. Searching "quote", "list", or "video" jumps straight to the relevant elements.

Each card names the element, explains what it is for in plain language, and marks it Current or Obsolete so you can tell at a glance whether to reach for it or avoid it. The obsolete entries, such as center, font, and marquee, are kept on purpose: you still meet them in old code and need to know what to replace them with. Everything is static and runs in your browser, so the lookup is instant and works offline once the page has loaded.

Example. Searching "section" surfaces the structural elements - section, article, aside, nav, header, footer - that give a page meaning beyond a sea of divs. Filtering by purpose and spotting the red Obsolete badge on center or font tells you to reach for CSS instead.

FAQ

What does it mean for an HTML tag to be obsolete?

An obsolete (or deprecated) tag is one the HTML standard no longer endorses, usually because it controlled presentation that now belongs in CSS, such as font and center, or because it was superseded by a better element, such as acronym giving way to abbr. Browsers often still render obsolete tags for backwards compatibility, but you should not use them in new pages: they may behave inconsistently, hurt accessibility, and can stop working at any time. This reference flags them so you know what to replace.

What is the difference between a semantic and a non-semantic element?

A semantic element describes the meaning of its content - article, nav, figure, and time all tell the browser, search engines, and assistive technology what the content is. Non-semantic elements like div and span carry no meaning and exist purely as containers for styling and layout. Using semantic tags where they fit improves accessibility and SEO at no cost, so the rule of thumb is to reach for a meaningful element first and fall back to div or span only when nothing more specific applies.

Why are b and i still allowed when they look like styling?

They survived because HTML5 redefined them with subtle meanings rather than pure presentation. b marks text to be stylistically offset without extra importance, such as keywords or a product name, while strong means genuine importance. Likewise i marks text set apart, such as a technical term or a foreign phrase, while em means stressed emphasis. They are not obsolete, but when the text really is important or emphasised, strong and em are the more meaningful choices.

Do I still need to close every tag?

Most elements need both an opening and closing tag, and closing them all is the safe, readable habit. A handful are void elements that have no content and never take a closing tag, such as img, br, input, hr, and meta. HTML also technically allows some closing tags to be omitted in certain places, but relying on that makes markup fragile, so writing explicit, well-nested tags is the convention this reference assumes.