FANDOM


This page lists all of the HTML tags and their uses.

  • * = Compatible with MediaWiki
  • / = self closing tag
Tag Name Description Deprecated in HTML 4.O1? HTML5 Support? Tag Category
<!--...-->* Comment Defines a comment No Yes Basic
<!DOCTYPE> Document type Defines the type of the document No Yes Basic
<a> Anchor Used to link to another page. Doesn't do anything special, except when the href attribute is filled out. No Yes Links
<abbr> Abbreviation Defines an abbreviation No Yes Formatting
<acronym> Acronym Defines an acronym No No Formatting
<address> Address Defines contact information for the author/owner of a document No Yes Formatting
<applet> Applet Defines an embedded applet Yes No Programming
<area /> Area Defines an area inside an image-map No Yes Images
<article> Article Defines an article No Yes Style / Sections
<aside> Aside Defines content aside from the page content No Yes Style / Sections
<audio> Audio Defines sound content No Yes Audio / Video
<b> Bold Defines bold text. No Yes Formatting
<base /> Base Specifies the base URL/target for all relative URLs in a document No Yes Meta Info
<basefont> Base Font Not supported in HTML5. Deprecated in HTML 4.01. Specifies a default color, size, and font for all text in a document Yes No Meta Info
<bdi> Bi-directional Isolation Isolates a part of text that might be formatted in a different direction from other text outside it No Yes Formatting
<bdo> Bi-Directional Override Overrides the current text direction. No Yes Formatting
<big>* Big Defines big text. No No Formatting
<blockquote> Block Quote Defines a section that is quoted from another site or source No Yes Formatting
<body> Body Begins the body section of the HTML document. No Yes Basic
<br />* Break Creates a line break. No Yes Basic
<button> Button Defines a clickable button No Yes Forms
<canvas> Canvas Used to draw graphics by scripting (usually JavaScript) No Yes Images
<caption> Caption Defines a table caption No Yes Formatting
<center>* Center Defines centered text Yes No Formatting
<cite> Cite Defines the title of a work No Yes Formatting
<code>* Code Defines a section of computer coding No Yes Formatting
<col /> Column Specifies column properties for each column within a <colgroup> tag No Yes Tables
<colgroup> Column Group Specifies a group of columns in a table for formatting No Yes Tables
<command /> Command Defines a command button that a user can invoke No Yes Lists
<datalist> Data List Specifies a list of pre-defined options for input controls No Yes Forms
<dd> Definition Description Defines a description of an item in a definition list No Yes Lists
<del> Delete Defines deleted text from a HTML document. No Yes Formatting
<dfn> Define Definition Term Defines a definition term No Yes Formatting
<details> Details Defines additional details that the user can view or hide No Yes Style / Sections
<dialog> Dialog Defines a dialog box or window No Yes Style / Sections
<div>* Div Defines a section in the HTML document. No Yes Style / Sections
<dir> Directory List Defines a directory list Yes No Lists
<dl> Definition List Defines a definition list No Yes Lists
<dt> Dictionary Term Defines a term (an item) in a definition list No Yes Lists
<em>* Emphasize Defines emphasized text. No Yes Formatting
<embed /> Embed Defines a container for an external (non-HTML) application No Yes Programming
<fieldset> Fieldset Groups related elements in a form No Yes Forms
<figcaption> Figure Caption Defines a caption for a <figure> element No Yes Images
<figure> Figure Specifies self-contained content No Yes Images
<footer> Footer Defines a footer for a HTML document or a section No Yes Style / Sections
<font>* Font Defines font, color, and size for text Yes No Formatting
<form> Form Defines an HTML form for user input No Yes Forms
<frame> Frame Defines a frame (also called a window) in a frameset No No Frames
<frameset> Frame Set Defines a set of frame No No Frames
<noframes> No Frames Defines an alternate use for users that do not support frames No No Frames
<iframe> Inline Frame Defines an inlined fame No Yes Frames
<h1>, <h2>, <h3>, <h4>, <h5>, <h6>* Header 1, Header 2, etc. Creates different sized headers which display in the text of the page. No Yes Basic
<head> Head Begins the head section of the HTML document. No Yes Meta Info
<header> Header Creates the name of the document to be displayed in the browser. No Yes Style / Sections
<hgroup> Heading Group Groups heading (<h1> to <h6>) elements No Yes Style / Sections
<html> HTML Begins the HTML document. No Yes Basic
<hr /> Horizontal Rule Defines a change in the content No Yes Basic
<i> Italics Defines italicized text. No Yes Formatting
<ins> Insert Defines a text that has been inserted into a document No Yes Formatting
<img /> Image Defines an image No Yes Images
<input /> Input Defines an input control No Yes Forms
<kbd> Keyboard Defines keyboard input No Yes Formatting
<keygen /> Key Pair Generator Defines a key-pair generator field (for forms) No Yes Forms
<label> Label Defines a label for an <input> element No Yes Forms
<legend> Legend Defines a caption for a <fieldset>, < figure>, or <details> element No Yes Forms
<li>* List Specifies a list item. No Yes Lists
<link /> Link Defines the relationship between a document and an external resource (most used to link to style sheets). No Yes Links
<map> Map Defines a client-side image-map No Yes Images
<mark> Mark Defines marked/highlighted text No Yes Formatting
<meta /> Meta Defines metadata about a HTML Document No Yes Meta Info
<meter> Meter Defines a scalar measurement within a known range (a gauge) No Yes Formatting
<nav> Navigation Defines navigational links No Yes Links
<noscript> No Script Defines an alternate content for users that do not support client-side scripts No Yes Programming
<object> Object Defines an embedded object No Yes Programming
<ol>* Ordered List Defines a ordered list. No Yes Lists
<option> Option Defines an option in a drop-down list No Yes Forms
<optgroup> Option Group Defines a group of related options in a drop-down list No Yes Forms
<output> Output Defines the result of a calculation No Yes Forms
<p>* Paragraph Defines a paragraph, which is normally used every time text is displayed. It is technically not required, but traditionally always used. No Yes Basic
<param /> Parameter Defines a parameter for an object. Yes No Programming
<pre>* Preformat Defines preformatted text. No Yes Formatting
<q> Quotation Defines a short quotation No Yes Formatting
<rp> Ruby Parentheses Defines what to display in browsers that do not support ruby annotations No Yes Formatting
<rt> Ruby Text Defines an explanation/pronunciation of characters (for East Asian typography) No Yes Formatting
<ruby> Ruby Defines a ruby annotation (for East Asian typography) No Yes Formatting
<s> Strike Defines non-accurate text. Yes Yes Formatting
<samp> Sample Defines sample output from a computer program No Yes Formatting
<script> Script Defines a cilent-side script. No Yes Programming
<section> Defines a section in a HTML document. Section No Yes Style / Sections
<select> Select Defines a drop-down list No Yes Forms
<source /> Source Defines multiple media resources for media elements (<video> and <audio>) No Yes Audio / Video
<small> Small Defines smaller text No Yes Formatting
<span>* Span Defines a section in the HTML document. No Yes Style / Sections
<strike>* Strike Defines striked-through text. Yes No Formatting
<strong>* Strong Defines strengthened and important text. No Yes Formatting
<style> Style Defines style information for a document No Yes Style / Sections
<sub> Subscript Defines subscripted text No Yes Formatting
<summary> Summary Defines a visible heading for a <details> element No Yes Style / Sections
<sup>* Superscript Defines superscripted text No Yes Formatting
<table>* Table Defines a table. No Yes Tables
<tbody>* Table Body Groups the body content in a table. No Yes Tables
<td>* Table Data Cell Defines a cell in a table. No Yes Tables
<textarea> Text Area Defines a multiline input control (text area) No Yes Forms
<tfoot>* Table Footer Groups the footer content in a table. No Yes Tables
<th>* Table Header Cell Defines a header cell in a table. No Yes Tables
<thead>* Table Header Groups the header content in a table. No Yes Tables
<title> Title Defines the title of the document. No Yes Basic
<time> Time Defines a date/time No Yes Formatting
<tr>* Table Row Defines a row in a table. No Yes Tables
<tt>* Teletype Defines teletype text No No Formatting
<track /> Track Defines text tracks for media elements (<video> and <audio>) No Yes Audio / Video
<u>* Underline Defines words mispelt in the content. Yes Yes Formatting
<ul>* Unordered List Defines an unordered list. No Yes Lists
<var> Variable Defines a variable No Yes Formatting
<video> Video Defines a video / movie. No Yes Audio / Video
<wbr /> World Break Opportunity Defines a possible line break No Yes Formatting

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.