|
<!DOCTYPE>
|
Version of (X)HTML
|
|
<html>
|
HTML document
|
|
<head>
|
Page information
|
|
<body>
|
Page contents
|
|
<!-- Comment Text -->
|
|
<base>
|
Base URL
|
|
<meta>
|
Meta data
|
|
<title>
|
Title
|
|
<link>
|
Relevant resource
|
|
<style>
|
Style resource
|
|
<script>
|
Script resource
|
|
<h1> to <h6>
|
Headings
|
|
<div>
|
Page section
|
|
<span>
|
Inline section
|
|
<p>
|
Paragraph
|
|
<br>
|
Line break
|
|
<hr>
|
Horizontal rule
|
|
<a href="">
|
Page link
|
|
<a href="mailto:">
|
Email link
|
|
<a name="name">
|
Anchor
|
|
<a href="#name">
|
Link to anchor
|
|
<strong>
|
Strong emphasis
|
|
<em>
|
Emphasis
|
|
<blockquote>
|
Long quotation
|
|
<q>
|
Short quotation
|
|
<abbr>
|
Abbreviation
|
|
<acronym>
|
Acronym
|
|
<address>
|
Address
|
|
<pre>
|
Pre-formatted text
|
|
<dfn>
|
Definition
|
|
<code>
|
Code
|
|
<cite>
|
Citation
|
|
<del>
|
Deleted text
|
|
<ins>
|
Inserted text
|
|
<sub>
|
Subscript
|
|
<sup>
|
Superscript
|
|
<bdo>
|
Text direction
|
|
<form>
|
Form
|
|
<fieldset>
|
Collection of fields
|
|
<legend>
|
Form legend
|
|
<label>
|
Input label
|
|
<input>
|
Form input
|
|
<select>
|
Drop-down box
|
|
<optgroup>
|
Group of options
|
|
<option>
|
Drop-down options
|
|
<textarea>
|
Large text input
|
|
<button>
|
Button
|
|
<table>
|
Table
|
|
<caption>
|
Caption
|
|
<thead>
|
Table header
|
|
<tbody>
|
Table body
|
|
<tfoot>
|
Table footer
|
|
<colgroup>
|
Column group
|
|
<col>
|
Column
|
|
<tr>
|
Table row
|
|
<th>
|
Header cell
|
|
<td>
|
Table cell
|
|
<img>
|
Image
|
|
<map>
|
Image Map
|
|
<area>
|
Area of Image Map
|
|
<object>
|
Object
|
|
<param>
|
Parameter
|
|
class
|
style
|
|
id
|
title
|
|
dir
|
lang
|
|
accesskey
|
tabindex
|
|
Window Events
|
|
|
onload
|
onunload
|
|
Form Events
|
|
|
onblur
|
onreset
|
|
onchange
|
onselect
|
|
onfocus
|
onsubmit
|
|
Keyboard Events
|
|
|
onkeydown
|
onkeyup
|
|
onkeypress
|
|
|
Mouse Events
|
|
|
onclick
|
onmouseout
|
|
ondblclick
|
onmouseover
|
|
onmousedown
|
onmouseup
|
|
onmousemove
|
|
Exeléntes trucos, hay mas de los que me imaginaba ya guarde la pagina me es de mucha utilidad, gracias
Esta información me ha serviso de mucho y es de mucho interés la seguiré visitando con frecuencia, gracias
Sorry to be a pedant, but this cheat-sheet is misleading. HTML4 doesn't technically allow self closing tags ( <br /> <hr /> etc), whereas XHTML does.
Accidentally posted before finishing: From w3c >> The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.
Quite right, Scott, and thanks for pointing that out. I've fixed the issue.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.