List Of HTML5 Tags/Elements - Tutorial Republic
Có thể bạn quan tâm
The following section contains a list of HTML5 elements along with a brief description.
HTML5 TagsOrder by Category
The following section contains a complete list of standard tags belonging to the latest HTML5 and XHTML 1.1 specifications. All the tags are listed alphabetically.
Tag | Description |
---|---|
<a> | Defines a hyperlink. |
<abbr> | Defines an abbreviated form of a longer word or phrase. |
<acronym> | Obsolete Defines an acronym. Use <abbr> instead. |
<address> | Specifies the author's contact information. |
<applet> | Obsolete Embeds a Java applet (mini Java applications) on the page. Use <object> instead. |
<area> | Defines a specific area within an image map. |
<article> | Defines an article. |
<aside> | Defines some content loosely related to the page content. |
<audio> | Embeds a sound, or an audio stream in an HTML document. |
<b> | Displays text in a bold style. |
<base> | Defines the base URL for all relative URLs in a document. |
<basefont> | Obsolete Specifies the base font for a page. Use CSS instead. |
<bdi> | Represents text that is isolated from its surrounding for the purposes of bidirectional text formatting. |
<bdo> | Overrides the current text direction. |
<big> | Obsolete Displays text in a large size. Use CSS instead. |
<blockquote> | Represents a section that is quoted from another source. |
<body> | Defines the document's body. |
<br> | Produces a single line break. |
<button> | Creates a clickable button. |
<canvas> | Defines a region in the document, which can be used to draw graphics on the fly via scripting (usually JavaScript). |
<caption> | Defines the caption or title of the table. |
<center> | Obsolete Align contents in the center. Use CSS instead. |
<cite> | Indicates a citation or reference to another source. |
<code> | Specifies text as computer code. |
<col> | Defines attribute values for one or more columns in a table. |
<colgroup> | Specifies attributes for multiple columns in a table. |
<data> | Links a piece of content with a machine-readable translation. |
<datalist> | Represents a set of pre-defined options for an <input> element. |
<dd> | Specifies a description, or value for the term (<dt>) in a description list (<dl>). |
<del> | Represents text that has been deleted from the document. |
<details> | Represents a widget from which the user can obtain additional information or controls on-demand. |
<dfn> | Specifies a definition. |
<dialog> | Defines a dialog box or subwindow. |
<dir> | Obsolete Defines a directory list. Use <ul> instead. |
<div> | Specifies a division or a section in a document. |
<dl> | Defines a description list. |
<dt> | Defines a term (an item) in a description list. |
<em> | Defines emphasized text. |
<embed> | Embeds external application, typically multimedia content like audio or video into an HTML document. |
<fieldset> | Specifies a set of related form fields. |
<figcaption> | Defines a caption or legend for a figure. |
<figure> | Represents a figure illustrated as part of the document. |
<font> | Obsolete Defines font, color, and size for text. Use CSS instead. |
<footer> | Represents the footer of a document or a section. |
<form> | Defines an HTML form for user input. |
<frame> | Obsolete Defines a single frame within a frameset. |
<frameset> | Obsolete Defines a collection of frames or other frameset. |
<head> | Defines the head portion of the document that contains information about the document such as title. |
<header> | Represents the header of a document or a section. |
<hgroup> | Defines a group of headings. |
<h1> to <h6> | Defines HTML headings. |
<hr> | Produce a horizontal line. |
<html> | Defines the root of an HTML document. |
<i> | Displays text in an italic style. |
<iframe> | Displays a URL in an inline frame. |
<img> | Represents an image. |
<input> | Defines an input control. |
<ins> | Defines a block of text that has been inserted into a document. |
<kbd> | Specifies text as keyboard input. |
<keygen> | Represents a control for generating a public-private key pair. |
<label> | Defines a label for an <input> control. |
<legend> | Defines a caption for a <fieldset> element. |
<li> | Defines a list item. |
<link> | Defines the relationship between the current document and an external resource. |
<main> | Represents the main or dominant content of the document. |
<map> | Defines a client-side image-map. |
<mark> | Represents text highlighted for reference purposes. |
<menu> | Represents a list of commands. |
<menuitem> | Defines a list (or menuitem) of commands that a user can perform. |
<meta> | Provides structured metadata about the document content. |
<meter> | Represents a scalar measurement within a known range. |
<nav> | Defines a section of navigation links. |
<noframes> | Obsolete Defines an alternate content that displays in browsers that do not support frames. |
<noscript> | Defines alternative content to display when the browser doesn't support scripting. |
<object> | Defines an embedded object. |
<ol> | Defines an ordered list. |
<optgroup> | Defines a group of related options in a selection list. |
<option> | Defines an option in a selection list. |
<output> | Represents the result of a calculation. |
<p> | Defines a paragraph. |
<param> | Defines a parameter for an object or applet element. |
<picture> | Defines a container for multiple image sources. |
<pre> | Defines a block of preformatted text. |
<progress> | Represents the completion progress of a task. |
<q> | Defines a short inline quotation. |
<rp> | Provides fall-back parenthesis for browsers that that don't support ruby annotations. |
<rt> | Defines the pronunciation of character presented in a ruby annotations. |
<ruby> | Represents a ruby annotation. |
<s> | Represents contents that are no longer accurate or no longer relevant. |
<samp> | Specifies text as sample output from a computer program. |
<script> | Places script in the document for client-side processing. |
<section> | Defines a section of a document, such as header, footer etc. |
<select> | Defines a selection list within a form. |
<small> | Displays text in a smaller size. |
<source> | Defines alternative media resources for the media elements like <audio> or <video>. |
<span> | Defines an inline styleless section in a document. |
<strike> | Obsolete Displays text in strikethrough style. |
<strong> | Indicate strongly emphasized text. |
<style> | Inserts style information (commonly CSS) into the head of a document. |
<sub> | Defines subscripted text. |
<summary> | Defines a summary for the <details> element. |
<sup> | Defines superscripted text. |
<svg> | Embed SVG (Scalable Vector Graphics) content in an HTML document. |
<table> | Defines a data table. |
<tbody> | Groups a set of rows defining the main body of the table data. |
<td> | Defines a cell in a table. |
<template> | Defines the fragments of HTML that should be hidden when the page is loaded, but can be cloned and inserted in the document by JavaScript. |
<textarea> | Defines a multi-line text input control (text area). |
<tfoot> | Groups a set of rows summarizing the columns of the table. |
<th> | Defines a header cell in a table. |
<thead> | Groups a set of rows that describes the column labels of a table. |
<time> | Represents a time and/or date. |
<title> | Defines a title for the document. |
<tr> | Defines a row of cells in a table. |
<track> | Defines text tracks for the media elements like <audio> or <video>. |
<tt> | Obsolete Displays text in a teletype style. |
<u> | Displays text with an underline. |
<ul> | Defines an unordered list. |
<var> | Defines a variable. |
<video> | Embeds video content in an HTML document. |
<wbr> | Represents a line break opportunity. |
The following section contains a complete list of standard tags belonging to the latest HTML5 and XHTML 1.1 specifications. All the tags are grouped into categories.
Structural Tags
Tag | Description |
---|---|
<a> | Defines a hyperlink. |
<article> | Defines an article. |
<aside> | Defines some content loosely related to the page content. |
<body> | Defines the document's body. |
<br> | Produces a single line break. |
<details> | Represents a widget from which the user can obtain additional information or controls on-demand. |
<div> | Specifies a division or a section in a document. |
<head> | Defines the head portion of the document that contains information about the document. |
<header> | Represents the header of a document or a section. |
<hgroup> | Defines a group of headings. |
<h1> to <h6> | Defines HTML headings. |
<hr> | Produce a horizontal line. |
<html> | Defines the root of an HTML document. |
<footer> | Represents the footer of a document or a section. |
<main> | Represents the main or dominant content of the document. |
<nav> | Defines a section of navigation links. |
<p> | Defines a paragraph. |
<section> | Defines a section of a document, such as header, footer etc. |
<span> | Defines an inline styleless section in a document. |
<summary> | Defines a summary for the <details> element. |
Metadata Tags
Tag | Description |
---|---|
<base> | Defines the base URL for all relative URLs in a document. |
<basefont> | Obsolete Specifies the base font for a page. Use CSS instead. |
<link> | Defines the relationship between the current document and an external resource. |
<meta> | Provides structured metadata about the document content. |
<style> | Inserts style information (commonly CSS) into the head of a document. |
<title> | Defines a title for the document. |
Form Tags
Tag | Description |
---|---|
<button> | Creates a clickable button. |
<datalist> | Represents a set of pre-defined options for an <input> element. |
<dialog> | Defines a dialog box or subwindow. |
<fieldset> | Specifies a set of related form fields. |
<form> | Defines an HTML form for user input. |
<input> | Defines an input control. |
<keygen> | Represents a control for generating a public-private key pair. |
<label> | Defines a label for an <input> control. |
<legend> | Defines a caption for a <fieldset> element. |
<meter> | Represents a scalar measurement within a known range. |
<optgroup> | Defines a group of related options in a selection list. |
<option> | Defines an option in a selection list. |
<select> | Defines a selection list within a form. |
<textarea> | Defines a multi-line text input control (text area). |
Formatting Tags
Tag | Description |
---|---|
<abbr> | Defines an abbreviated form of a longer word or phrase. |
<acronym> | Obsolete Defines an acronym. Use <abbr> instead. |
<address> | Specifies the author's contact information. |
<b> | Displays text in a bold style. |
<bdi> | Represents text that is isolated from its surrounding for the purposes of bidirectional text formatting. |
<bdo> | Overrides the current text direction. |
<big> | Obsolete Displays text in a large size. Use CSS instead. |
<blockquote> | Represents a section that is quoted from another source. |
<center> | Obsolete Align contents in the center. Use CSS instead. |
<cite> | Indicates a citation or reference to another source. |
<code> | Specifies text as computer code. |
<data> | Links a piece of content with a machine-readable translation. |
<del> | Represents text that has been deleted from the document. |
<dfn> | Specifies a definition. |
<em> | Defines emphasized text. |
<font> | Obsolete Defines font, color, and size for text. Use CSS instead. |
<i> | Displays text in an italic style. |
<ins> | Defines a block of text that has been inserted into a document. |
<kbd> | Specifies text as keyboard input. |
<mark> | Represents text highlighted for reference purposes. |
<output> | Represents the result of a calculation. |
<pre> | Defines a block of preformatted text. |
<progress> | Represents the completion progress of a task. |
<q> | Defines a short inline quotation. |
<rp> | Provides fall-back parenthesis for browsers that that don't support ruby annotations. |
<rt> | Defines the pronunciation of character presented in a ruby annotations. |
<ruby> | Represents a ruby annotation. |
<s> | Represents contents that are no longer accurate or no longer relevant. |
<samp> | Specifies text as sample output from a computer program. |
<small> | Displays text in a smaller size. |
<strike> | Obsolete Displays text in strikethrough style. Use <del> or <s> instead. |
<strong> | Indicate strongly emphasized text. |
<sub> | Defines subscripted text. |
<sup> | Defines superscripted text. |
<tt> | Obsolete Displays text in a teletype style. |
<u> | Displays text with an underline. |
<var> | Defines a variable. |
<wbr> | Represents a line break opportunity. |
List Tags
Tag | Description |
---|---|
<dd> | Specifies a description, or value for the term (<dt>) in a description list (<dl>). |
<dir> | Obsolete Defines a directory list. Use <ul> instead. |
<dl> | Defines a description list. |
<dt> | Defines a term (an item) in a description list. |
<li> | Defines a list item. |
<ol> | Defines an ordered list. |
<menu> | Represents a list of commands. |
<menuitem> | Defines a list (or menuitem) of commands that a user can perform. |
<ul> | Defines an unordered list. |
Table Tags
Tag | Description |
---|---|
<caption> | Defines the caption or title of the table. |
<col> | Defines attribute values for one or more columns in a table. |
<colgroup> | Specifies attributes for multiple columns in a table. |
<table> | Defines a data table. |
<tbody> | Groups a set of rows defining the main body of the table data. |
<td> | Defines a cell in a table. |
<tfoot> | Groups a set of rows summarizing the columns of the table. |
<thead> | Groups a set of rows that describes the column labels of a table. |
<th> | Defines a header cell in a table. |
<tr> | Defines a row of cells in a table. |
Scripting Tags
Tag | Description |
---|---|
<noscript> | Defines alternative content to display when the browser doesn't support scripting. |
<script> | Places script in the document for client-side processing. |
<template> | Defines the fragments of HTML that should be hidden when the page is loaded, but can be cloned and inserted in the document by JavaScript. |
Embedded Content Tags
Tag | Description |
---|---|
<applet> | Obsolete Embeds a Java applet (mini Java applications) on the page. Use <object> instead. |
<area> | Defines a specific area within an image map. |
<audio> | Embeds a sound, or an audio stream in an HTML document. |
<canvas> | Defines a region in the document, which can be used to draw graphics on the fly via scripting (usually JavaScript). |
<embed> | Embeds external application, typically multimedia content like audio or video into an HTML document. |
<figcaption> | Defines a caption or legend for a figure. |
<figure> | Represents a figure illustrated as part of the document. |
<frame> | Obsolete Defines a single frame within a frameset. |
<frameset> | Obsolete Defines a collection of frames or other frameset. |
<iframe> | Displays a URL in an inline frame. |
<img> | Represents an image. |
<map> | Defines a client-side image-map. |
<noframes> | Obsolete Defines an alternate content that displays in browsers that do not support frames. |
<object> | Defines an embedded object. |
<param> | Defines a parameter for an object or applet element. |
<picture> | Defines a container for multiple image sources. |
<source> | Defines alternative media resources for the media elements like <audio> or <video>. |
<svg> | Embed SVG (Scalable Vector Graphics) content in an HTML document. |
<time> | Represents a time and/or date. |
<track> | Defines text tracks for the media elements like <audio> or <video>. |
<video> | Embeds video content in an HTML document. |
Is this website helpful to you? Please give us a like, or share your feedback to help us improve. Connect with us on Facebook and Twitter for the latest updates.
About Us
Our Story Terms of Use Privacy PolicyContact
Contact Us Report Error AdvertiseInteractive Tools
Bootstrap Icon Search Utility HTML Formatter Title & Meta Length Calculator HTML Color Picker Bootstrap Button Generator SQL Playground Font Awesome Icon Finder HTML EditorCopyright © 2024 Tutorial Republic. All Rights Reserved. Share This:
Từ khóa » Html5 Text Tag
-
HTML Text Formatting - W3Schools
-
HTML Elements Reference - HTML: HyperText Markup Language
-
HTML Text Tag - Javatpoint
-
HTML Tags For Text - Flavio Copes
-
HTML5 - Tags Reference - Tutorialspoint
-
HTML: Tag - TechOnTheNet
-
Alignment, Font Styles, And Horizontal Rules In HTML Documents
-
WebD2: Common HTML Tags - University Of Washington
-
Playing With HTML Paragraphs: Let's Show You Different Formatting ...
-
In HTML, How Can I Change The Size Of Text On My Web Page? - IU KB
-
What Is The Tag To Underline Text In HTML 5? - Quora
-
How To Bold, Italicize & Format Text In HTML - HubSpot Blog
-
HTML Font Size – How To Change Text Size With An HTML Tag
-
HTML
Tag - GeeksforGeeks