English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag大全

Comprehensive List of HTML Tags (By Function)

HTML Reference Manual- (HTML5 , Search by HTML function

Sorted by HTML function

TagDescription
Basic 
<!DOCTYPE> Defines the document type.
<html>Defines an HTML document.
<title>Defines a title for the document.
<body>Defines the main content of the document.
<h1> to <h6>Defines an HTML title
<p>Defines a paragraph
<br>Defines a simple line break.
<hr>Defines a horizontal line.
<!--...-->Defines a comment
Format 
<acronym>HTML5No longer supported. Defines an acronym with only the first letter of each word.
<abbr>Defines an abbreviation.
<address>Defines contact information for the document author or owner.
<b>Defines bold text.
<bdi>HTML5Allows you to set a segment of text to脱离 its parent element's text direction setting.
<bdo>Defines the direction of text.
<big>HTML5No longer supported. Defines large text.
<blockquote>Defines blockquote.
<center>HTML5Not supported. HTML 4.01 Abandoned. Defines central text.
<cite>Defines a citation (citation).
<code>Defines computer code text.
<del>Defines deleted text.
<dfn>Defines a definition item.
<em>Defines emphasized text. 
<font>HTML5Not supported. HTML 4.01 Deprecated. Defines the font, size, and color of text.
<i>Defines italic text.
<ins>Defines inserted text.
<kbd>Defines keyboard text.
<mark>HTML5Defines text with annotations.
<meter>HTML5Defines a measure. Only used for measures with known maximum and minimum values.
<pre>Defines preformatted text
<progress>HTML5Defines the progress of a running task (process).
<q>Defines a short quote.
<rp>HTML5Defines the content displayed by browsers that do not support the ruby element.
<rt>HTML5Defines the explanation or pronunciation of a character (pinyin or character).
<ruby>HTML5Defines ruby annotations (pinyin or characters).
<s>Defines text with strikethrough.
<samp>Defines a sample of computer code.
<small>Defines small text.
<strike>HTML5Not supported. HTML 4.01 Deprecated. Defines text with strikethrough.
<strong>Defines text with stronger emphasis.
<sub>Defines subscript text.
<sup>Defines superscript text.
<time>HTML5Defines a date/Time
<tt>HTML5No longer supported. Defines typewriter text.
<u>Defines underlined text.
<var>Defines a variable part of the text.
<wbr>HTML5Specifies where in the text it is appropriate to add a line break.
Form 
<form>Defines an HTML form for user input.
<input>Defines an input control
<textarea>Defines a multi-line text input control.
<button>Defines a button.
<select>Defines a selection list (dropdown list).
<optgroup>Defines a combination of related options in a selection list.
<option>Defines the options in a selection list.
<label>Defines the annotation for the input element.
<fieldset>Defines the border around the elements in a form.
<legend>Defines the title of the fieldset element.
<datalist>HTML5Specifies the list of possible options for the input element.
<keygen>HTML5Specifies the keygen field for a form.
<output>HTML5Defines the result of a calculation
Frame 
<frame>HTML5No longer supported. Defines a window or frame for a frameset.
<frameset>HTML5No longer supported. Defined a frameset.
<noframes>HTML5No longer supported. Defined alternative content for users who do not support frames.
<iframe>Defined an inline frame.
Image 
<img>Defined an image.
<map>Defined an image map.
<area>Defined an area within an image map.
<canvas>HTML5Draw graphics (such as charts and other images) through scripts (usually JavaScript).
<figcaption>HTML5Defined a caption for a <figure> element
<figure>HTML5The figure tag is used to group elements.
Audio/Video 
<audio>HTML5Defined sound, such as music or other audio streams.
<source>HTML5Defined media resources for media elements (<video> and <audio>). media
<track>HTML5Defined an external text track for media elements (<video> and <audio>).
<video>HTML5Defined an audio or video
Link 
<a>Defined a link
<link>Defined the relationship between the document and external resources.
<nav>HTML5Defined navigation links
List 
<ul>Defined an unordered list
<ol>Defined an ordered list
<li>Defined a list item
<dir>HTML5Not supported. HTML 4.01 Deprecated. Defined a directory list.
<dl>Defined a definition list
<dt>Defined an item in a definition list.
<dd>Defined the description of an item in a definition list.
<menu>Defined a menu list.
<command>HTML5Defined commands that users may call (such as radio buttons, checkboxes, or buttons).
Table 
<table>Defined a table
<caption>Defined the table title.
<th>Defined a header cell in a table.
<tr>Defined a row in a table.
<td>Defined a cell in a table.
<thead>Defined the header content of a table.
<tbody>Defined the main content of a table.
<tfoot>Defined the content of the table notes (footnotes) in a table.
<col>Defined the attribute values of one or more columns in a table.
<colgroup>Defined a column group for formatting in a table.
Style/Section 
<style>Defined the style information of the document.
<div>Defined a section in the document.
<span>Defined a section in the document.
<header>HTML5Defined the header part of a document
<footer>HTML5Defined the bottom of a document
<section>HTML5Defined a certain area of the document
<article>HTML5Define an article content.
<aside>HTML5Define content that is outside of the main content.
<details>HTML5Define additional details for visible or hidden requirements.
<dialog>HTML5Define a dialog or window.
<summary>HTML5Define a visible title. Detailed information will be displayed when the user clicks on the title.
Metadata 
<head>Define information about the document.
<meta>Define metadata about the HTML document.
<base>Define the default address or default target for all links on the page.
<basefont>HTML5Not supported. HTML 4.01 Deprecated. Define the default font, color, or size of the text on the page.
Program 
<script>Define client-side scripts.
<noscript>Define alternative content for users who do not support client-side scripts.
<applet>HTML5Not supported. HTML 4.01 Deprecated. Define embedded applets.
<embed>HTML5Define a container to embed external applications or interactive programs (plugins).
<object>Define an embedded object.
<param>Define the parameters of an object.