Done!

HTML 5 Cheat Sheet



HTML 5 Doctype

Tags Description
<!DOCTYPE> Defines the document type
<!--..--> Defines a comment Defines a comment Defines a comment

HTML 5 Tags Starting with A

Tags Description
<a> Defines a hyperlink
Attributes: href, hreflang, media, ping, rel, target, type
<abbr> Defines and abbreviation
<address> Defines an address element
<area> Defines and area inside and image map
Attributes: alt, coords, href, hreflang, media, ping, rel, shape, target, type
<article> Defines an article
Attributes: cite, pubdat
<aside> Defines content aside from the page content
<audio> Defines sound context
Attributes: autobuffer, autoplay, controls, src

HTML 5 Tags Starting with B

Tags Description
<base> Defines a base URL for all the links in a page
Attributes: href, target
<bdo> Defines the direction of text display
Attributes: dir
<blockquote> Defines a long quotation
Attributes: cite
<body> Defines the body element
<br> Inserts a single line break
<button> Defines a push button
Attributes: autofocus, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, name, type, value

HTML 5 Tags Starting with C

Tags Description
<canvas> Defines graphics
Attributes: height, width
<caption> Defines a table caption
<cite> Defines a citation
<code> Defines computer code text
Attributes: autobuffer, autoplay, controls, src
<col> Defines attributes for table columns
<colgroup> Defines groups of table columns
<command> Defines a command button
Attributes: checked, disabled, icon, label, radiogroup, type

HTML 5 Tags Starting with D

Tags Description
<datalist> Defines a dropdown list
<dd> Defines a definition description
<del> Defines deleted text
Attributes: cite, datetime
<details> Defines details of an element
Attributes: open
<dialog> Defines a dialog (conversation)
<dfn> Defines a definition term

HTML 5 Doctype Starting with E

Tags Description
<em> Defines emphasized text
<embed> Defines external interactive content or plugin
Attributes: height, src, type, width

HTML 5 Doctype Starting with F

Tags Description
<fieldset> Defines a fieldset
Attributes: disabled, form, name
<figure> Defines a group of media content, and their caption
<font> Used to define font face, font size, and font color of text
<footer> Defines a footer for a section or page
<form> Defines a form
Attributes: accept-charset, action, autocomplete, enctype, method, name, novalidate, target
<frame> Used to define one particular window (frame) within a frameset
<frameset> Used to define a frameset, which organized multiple windows (frames)

HTML 5 Doctype Starting with H

Tags Description
<h1>to<h6> Defines header 1 to header 6
<head> Defines information about the document
<header> Defines a header for a section or page
<hgroup> Defines information about a section in a document
<hr> Defines a horizontal rule
<html> Defines an html document
Attributes: manifest, xmlns

HTML 5 Doctype Starting with I

Tags Description
<i> Defines italic text
<iframe> Defines an inline sub window
Attributes: height, name, sandbox, seamless, src, width
<img> alt, src, height, ismap, usemap, width
<input> Defines an input field
Attributes: accept, alt, autocomplete, autofocus, checked, disable, form, formaction, formenctype, formmethod, formnovalidate, formtarget, height, list, max, maxlength, min, multiple, name, pattern, placeholder, readonly, required, size, src, step, type, value, width
<ins> Defines inserted text
Attributes: cite, datetime

HTML 5 Doctype Starting with K

Tags Description
<keygen> Defines a generated key in a form
Attributes: autofocus, challenge, disabled, form, keytype, name
<kbd> Defines keyboard text

HTML 5 Doctype Starting with L

Tags Description
<label> Defines an inline sub window
Attributes: for, form
<legend> Defines a title in a fieldset
<li> Defines a list item
Attributes: value
<link> Defines a resource refeerence
Attributes: href, hreflang, media, rel, sizes, type

HTML 5 Doctype Starting with M

Tags Description
<map> Defines an image map
Attributes: name
<mark> Defines marked text
<menu> Defines a menu list
Attributes: label, type
<meta> Defines meta information
Attributes: charset, content, http-equiv, name
<meter> Defines measurement within a predefined range
Attributes: high, low, max, min, optimum, value

HTML 5 Doctype Starting with N

Tags Description
<nav> Defines navigation links
<noscript> Defines a noscript section

HTML 5 Doctype Starting with O

Tags Description
<object> Defines an embedded object
Attributes:  data, form, height, name, type, usemap, width
<ol> Defines an ordered list
Attributes: reversed, start
<optgroup> Defines an option group
Attributes: label, disabled
<option> Defines an option in a drop-down list
Attributes: disabled, label, selected, value
<output> Defines some types of output
Attributes: for, form, name

HTML 5 Doctype Starting with P

Tags Description
<p> Defines a paragraph
<param> Defines a parameter for an object
Attributes: name, value
<pre> Defines preformatted text
<progress> Defines progress of a task of any kind
Attributes: max, value

HTML 5 Doctype Starting with Q

Tags Description
<q> Defines a short quotation
Attributes: cite

HTML 5 Doctype Starting with R

Tags Description
<rp> Used in ruby annotation to define what to show browers that do not support the ruby element
<rt> Defines explanation to ruby annotations
<ruby> Defines ruby annotations

HTML 5 Doctype Starting with S

Tags Description
<samp> Defines sample computer code
<script> Defines a section for the script
Attributes: async, type, charset, defer, src
<section> Defines a section
Attributes: cite
<select> Defines a selectable list
Attributes: autofocus, disabled, form, multiple, name, size
<small> Defines small text
<source> Defines media resources
Attributes: media, src, type
<span> Defines a section in a document
<strong> Defines strong text
<style> Defines a style definition
Attributes: type, media, scoped
<sub>, <sup> Defines sub/super-scripted text

HTML 5 Doctype Starting with S

Tags Description
<table> Defines a table
Attributes: summary
<tbody> Defines a table body
Attributes: summary
<td> Defines a table cell
Attributes: colspan, headers, rowspan
<textarea> Defines a text area
Attributes: autofocus, cols, disabled, form, maxlength, name, placeholder, readonly, required, rows, wrap
<tfoot>, <thead> Defines a table footer / head
<th> Defines a table header
Attributes: colspan, headers, rowspan, scope
<time> Defines a date/time
Attributes: datetime
<title> Defines the document title
<tr> Defines a table row

HTML 5 Doctype Starting with U

Tags Description
<ul> Defines an unordered list

HTML 5 Doctype Starting with V

Tags Description
<var> Defines a variable
Attributes: 
<video> Defines a video
Attributes: autobuffer, autoplay, controls, height, loop, src, width

Tags Not Supported in HTML5

Tags Description
<acronyms> Used to define an embedded acronyms
<applet> Used to define an embedded applet
<basefont> Used to define a default font-color, font-size, or font family for all the document
<big> Used to make text bigger
<center> Used to center align text and content
<dir> Used to define a directory list
<font> Used to define font face, font size, & font color
<frameset> Used to define a frameset for organizing multiple windows (frames)
<noframes> Used to display tet for browsers that do no handle frames
<s> <strike> Used to define strikethrough text
<tt> Used to define teletype text
<u> Used to define underline text