HTML Element Reference by Category: A Quick Guide
This categorized HTML element reference provides a concise description of common HTML tags, grouped by their purpose (basic elements, formatting, lists, etc.). A helpful resource for quickly looking up the function of HTML tags and building semantic web pages. View all HTML elements here!
HTML Element Reference by Category
This reference categorizes common HTML elements, providing a concise description of their purpose and usage. Understanding the role of each element is crucial for writing semantic and well-structured HTML.
Basic HTML Elements
Tag | Description |
---|---|
<!DOCTYPE html> |
Declares the document type (HTML5). |
<html> |
The root element of an HTML page. |
<head> |
Contains meta-information (title, character set, etc.). |
<title> |
Specifies the title of the document (displayed in the browser's title bar). |
<body> |
Contains the visible page content. |
<h1> to <h6> |
Define headings of different levels. |
<p> |
Defines a paragraph. |
<br> |
Inserts a single line break. |
<hr> |
Inserts a horizontal rule. |
<!-- --> |
Creates an HTML comment. |
Formatting Elements
Tag | Description |
---|---|
<acronym> |
(Deprecated) Defines an acronym. Use CSS instead. |
<abbr> |
Defines an abbreviation or acronym. |
<address> |
Defines contact information for the author/owner. |
<b> |
(Deprecated) Defines bold text. Use CSS instead. |
<bdi> |
Isolates text that might be formatted in a different direction. |
<bdo> |
Overrides text direction. |
<big> |
(Deprecated) Defines big text. Use CSS instead. |
<blockquote> |
Defines a long quotation. |
<center> |
(Deprecated) Defines centered text. Use CSS instead. |
<cite> |
Defines the title of a work. |
<code> |
Defines a piece of computer code. |
<del> |
Defines deleted text. |
<dfn> |
Defines a term being defined. |
<em> |
Defines emphasized text. |
<font> |
(Deprecated) Defines font, color, size. Use CSS instead. |
<ins> |
Defines inserted text. |
<kbd> |
Defines keyboard input. |
<mark> |
Defines marked/highlighted text. |
<meter> |
Defines a scalar measurement. |
<pre> |
Defines preformatted text. |
<progress> |
Represents the progress of a task. |
<q> |
Defines a short quotation. |
(Note: Deprecated tags are noted as such. It's recommended to use CSS for styling instead of deprecated HTML tags.)
For a complete HTML tag reference, please visit our HTML Tag Reference.