Basic |
|
<!DOCTYPE> |
Defines the document type. |
<html> |
Defines an HTML document. |
<title> |
Defines a title for the document. |
<body> |
Defines the document's body. |
<h1> to <h6> |
Defines HTML headings. |
<p> |
Defines a paragraph. |
<br> |
Defines a single line break. |
<hr> |
Defines a horizontal rule. |
<!--...--> |
Defines a comment. |
Format |
|
<acronym> |
Not supported in HTML5. Defines an acronym. |
<abbr> |
Defines an abbreviation. |
<address> |
Defines contact information for the author/owner of a document. |
<b> |
Defines bold text. |
<bdi> New |
Allows you to set a section of text that can be formatted in a different direction from other text outside it. |
<bdo> |
Defines the text direction. |
<big> |
Not supported in HTML5. Defines big text. |
<blockquote> |
Defines a section that is quoted from another source. |
<center> |
Not supported in HTML5. Deprecated in HTML 4.01. Defines centered text. |
<cite> |
Defines the title of a work. |
<code> |
Defines a piece of computer code. |
<del> |
Defines text that has been deleted from a document. |
<dfn> |
Defines a definition term. |
<em> |
Defines emphasized text. |
<font> |
Not supported in HTML5. Deprecated in HTML 4.01. Defines font, size, and color of text. |
<i> |
Defines a part of text in an alternate voice or mood. |
<ins> |
Defines a text that has been inserted into a document. |
<kbd> |
Defines keyboard input. |
<mark> New |
Defines marked/highlighted text. |
<meter> New |
Defines a scalar measurement within a known range. |
<pre> |
Defines preformatted text. |
<progress> New |
Represents the progress of a task. |
<q> |
Defines a short quotation. |
<rp> New |
Defines what to show in browsers that do not support ruby annotations. |
<rt> New |
Defines an explanation/pronunciation of characters. |
<ruby> New |
Defines a ruby annotation. |
<s> |
Defines text that is no longer correct. |
<samp> |
Defines sample output from a computer program. |
<small> |
Defines smaller text. |
<strike> |
Not supported in HTML5. Deprecated in HTML 4.01. Defines strikethrough text. |
<strong> |
Defines important text. |
<sub> |
Defines subscripted text. |
<sup> |
Defines superscripted text. |
<time> New |
Defines a date/time. |
<tt> |
HTML5 no longer supports. Defines teletype text. |
<u> |
Defines underlined text. |
<var> |
Defines the variable part of the text. |
<wbr> New |
Specifies where in the text it is appropriate to add a line break. |
Forms |
|
<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 (drop-down list). |
<optgroup> |
Defines a group of related options in a selection list. |
<option> |
Defines an option in a selection list. |
<label> |
Defines a label for an input element. |
<fieldset> |
Defines a border around elements in a form. |
<legend> |
Defines a caption for a fieldset element. |
<datalist> New |
Specifies a list of pre-defined options for input controls. |
<keygen> New |
Defines a key-pair generator field for forms. |
<output> New |
Defines the result of a calculation |
Frames |
|
<frame> |
HTML5 no longer supports. Defines a window or frame within a frameset. |
<frameset> |
HTML5 no longer supports. Defines a frameset. |
<noframes> |
HTML5 no longer supports. Defines alternative content for users who do not support frames. |
<iframe> |
Defines an inline frame. |
Images |
|
<img> |
Defines an image. |
<map> |
Defines an image map. |
<area> |
Defines a clickable area within an image map. |
<canvas> New |
Draws graphics via scripting (usually JavaScript). |
<figcaption> New |
Defines a caption for a <figure> element |
<figure> New |
Groups media content with a caption (see <figcaption>). |
Audio/Video |
|
<audio> New |
Defines sound content. |
<source> New |
Defines multiple media resources for media elements (<video> and <audio>). |
<track> New |
Defines text tracks for media elements (<video> and <audio>). |
<video> New |
Defines a video or movie |
Links |
|
<a> |
Defines a hyperlink. |
<link> |
Defines the relationship between a document and an external resource. |
<main> |
Specifies the main content of a document. |
<nav> New |
Defines navigation links. |
Lists |
|
<ul> |
Defines an unordered list. |
<ol> |
Defines an ordered list. |
<li> |
Defines a list item. |
<dir> |
HTML5 no longer supports. HTML 4.01 deprecated. Defines a directory list. |
<dl> |
Defines a definition list |
<dt> |
Defines a term in a definition list |
<dd> |
Describes a term in a definition list |
<menu> |
Defines a menu list |
<command> New |
Defines a command that a user can invoke (e.g., radio button, checkbox, or button) |
Table |
|
<table> |
Defines a table |
<caption> |
Defines a table caption |
<th> |
Defines a header cell in a table |
<tr> |
Defines a row in a table |
<td> |
Defines a cell in a table |
<thead> |
Groups the header content in a table |
<tbody> |
Groups the body content in a table |
<tfoot> |
Groups the footer content in a table |
<col> |
Specifies column properties for each column within a <colgroup> element |
<colgroup> |
Specifies a group of one or more columns in a table for formatting |
Style/Section |
|
<style> |
Defines style information for a document |
<div> |
Defines a section in a document |
<span> |
Defines a section in a document |
<header> New |
Defines a header for a document or section |
<footer> New |
Defines a footer for a document or section |
<section> New |
Defines a section in a document |
<article> New |
Defines an article |
<aside> New |
Defines content aside from the content it is placed in |
<details> New |
Defines additional details that the user can view or hide |
<dialog> New |
Defines a dialog box or window |
<summary> New |
Defines a visible heading for a <details> element. It is shown/hidden when the user clicks on the heading. |
Meta Information |
|
<head> |
Defines information about the document |
<meta> |
Defines metadata about an HTML document |
<base> |
Specifies the base URL/target for all relative URLs in a document |
<basefont> |
Not supported in HTML5. Deprecated in HTML 4.01. Specifies a default font, color, or size for all text in a document |
Program |
|
<script> |
Defines a client-side script |
<noscript> |
Defines an alternate content for users that do not support client-side scripts |
<applet> |
Not supported in HTML5. Deprecated in HTML 4.01. Defines an embedded applet |
<embed> New |
Defines a container for an external application or interactive content (a plug-in) |
<object> |
Defines an embedded object |
<param> |
Defines a parameter for an object |