HTML4 Cheat Sheet
by Dave Child (DaveChild) via cheatography.com/1/cs/17/
HTML4 Document Outline HTML4 Lists HTML4 Language Attributes
<!DOCTYPE> Version of (X)HTML <ol> Ordered list dir lang
<html> HTML document <ul> Unordered list Language Attributes may not be used in
<head> Page information <li> List item base, br, frame, frameset, hr, iframe, param
or script elements.
<body> Page contents <dl> Definition list
<dt> Definition term
HTML4 Keyboard Attributes
HTML4 Comments
<dd> Term description
accesskey tabindex
<!-- Comment Text -->
HTML4 Forms
HTML4 Events
HTML4 Page Information
<form> Form
Window Events
<base> Base URL
<fieldset> Collection of fields
onload onunload
<meta> Meta data
<legend> Form legend
Form Events
<title> Title
<label> Input label
onblur onreset
<link> Relevant resource
<input> Form input
onchange onselect
<style> Style resource
<select> Drop-down box
onfocus onsubmit
<script> Script resource
<optgroup> Group of options
Keyboard Events
<option> Drop-down options
HTML4 Document Structure onkeydown onkeyup
<textarea> Large text input
<h1> to <h6> Headings onkeypress
<button> Button
<div> Page section Mouse Events
<span> Inline section HTML4 Tables onclick onmouseout
<p> Paragraph ondblclick onmouseover
<table> Table
<br> Line break onmousedown onmouseup
<caption> Caption
<hr> Horizontal rule onmousemove
<thead> Table header
<tbody> Table body
HTML4 Links
<tfoot> Table footer
<a href=""> Page link
<colgroup> Column group
<a href="mailto:"> Email link
<col> Column
<a name="name"> Anchor
<tr> Table row
<a href="#name"> Link to anchor
<th> Header cell
HTML4 Text <td> Table cell
HTML4 Images
<img> Image
<map> Image Map
<area> Area of Image Map
HTML4 Objects
<object> Object
<param> Parameter
HTML4 Core Attributes
class style
id title
Core Attributes may not be used with base,
<strong> Strong emphasis head, html, meta, param, script, style or title
elements.
<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
By Dave Child (DaveChild) Published 19th October, 2011. Sponsored by CrosswordCheats.com
cheatography.com/davechild/ Last updated 13th May, 2016. Learn to solve cryptic crosswords!
aloneonahill.com Page 1 of 2. http://crosswordcheats.com