Cheatography
https://cheatography.com
HTML Reference | w3schools.com
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Basic Tags
<!DOCTYPE> |
Defines the document type |
<!DOCTYPE html> |
<html> |
Defines an HTML document |
<html>...</html> |
<title> |
Defines a title for the document |
<title>...</title> |
<body> |
Defines the document's body |
<body>...</body> |
<h1> to <h6> |
Defines HTML headings |
<h1>Title</h1> |
<p> |
Defines a paragraph |
<p>Text</p> |
<br> |
Inserts a single line break |
<br> |
<hr> |
Defines a thematic change in the content |
<hr> |
<!-- --> |
Defines a comment |
<!-- comment --> |
Formatting
|
Defines an abbreviation |
<abbr title="Example">Ex</abbr> |
<address> |
Defines contact information |
<b> |
Defines bold text |
<bdi> |
Isolates a part of text that might be formmatted in a different direction |
<bdi>hrefs</bdi> |
<bod> |
Overrides the current text direction |
<blockquote> |
Defines a section that is quoted |
<cite> |
Defines the title of a work |
<code> |
Defines a piece of computer code |
<del> |
Defines text that has been deleted |
<dfn> |
Defines a definition term |
<em> |
Defines emphasized text |
<i> |
Defines a part of text in an alternate voice |
<ins> |
Defines a text that has been inserted into a document |
<kbd> |
Defines keyboard input |
<mark> |
Defines marked text |
<meter> |
Defines a scalar measurement |
<pre> |
Defines preformatted text |
<progress> |
Represents the progress of a task |
<q> |
Defines a short quotation |
<rp> |
Defines what to show in browsers that don't support ruby |
<rt> |
Defines an explanation of characters |
<ruby> |
Defines a ruby annotation |
<s> |
Defines text that is no longer correct |
<samp> |
Defines sample output from computer program |
<small> |
Defines smaller text |
<strong> |
Defines important text |
<sub> |
Defines subscripted text |
<sup> |
Defines superscripted text |
<time> |
Defines a date/time |
<u> |
Defines text that shoud be stylistically diferent |
<var> |
Defines a variable |
<wbr> |
Defines a possible line-break |
|