HTML elements reference
发布时间:2026-08-19 | 浏览:7
Skip to main content
This page lists all the HTML elements , which are created using tags .
They are grouped by function to help you find what you have in mind easily. An alphabetical list of all elements is provided in the sidebar on every element's page as well as this one.
Note: For more information about the basics of HTML elements and attributes, see Anatomy of an HTML element .
Document metadata
Metadata contains information about the page. This includes information about styles, scripts and data to help software ( search engines , browsers , etc.) use and render the page. Metadata for styles and scripts may be defined in the page or linked to another file that has the information.
Sectioning root
Content sectioning
Content sectioning elements allow you to organize the document content into logical pieces. Use the sectioning elements to create a broad outline for your page content, including header and footer navigation, and heading elements to identify sections of content.
Use HTML text content elements to organize blocks or sections of content placed between the opening <body> and closing </body> tags. Important for accessibility and SEO , these elements identify the purpose or structure of that content.
Inline text semantics
Use the HTML inline text semantic to define the meaning, structure, or style of a word, line, or any arbitrary piece of text.
Image and multimedia
HTML supports various multimedia resources such as images, audio, and video.
Embedded content
In addition to regular multimedia content, HTML can include a variety of other content, even if it's not always easy to interact with.
You can embed SVG and MathML content directly into HTML documents, using the <svg> and <math> elements.
To create dynamic content and Web applications, HTML supports the use of scripting languages, most prominently JavaScript. Certain elements support this capability.
Demarcating edits
These elements let you provide indications that specific parts of the text have been altered.
The elements here are used to create and handle tabular data.
HTML provides several elements that can be used together to create forms that the user can fill out and submit to the website or application. Further information about this available in the HTML forms guide .
Interactive elements
HTML offers a selection of elements that help to create interactive user interface objects.
Web Components is an HTML-related technology that makes it possible to, essentially, create and use custom elements as if it were regular HTML. In addition, you can create custom versions of standard HTML elements.
Obsolete and deprecated elements
Warning: These are old HTML elements that are deprecated and should not be used. You should never use them in new projects, and you should replace them in old projects as soon as you can. They are listed here for completeness only.
Element interface
Help improve MDN
This page was last modified on Feb 6, 2026 by MDN contributors .