0% found this document useful (0 votes)
2 views2 pages

Ultimate HTML Cheatsheet For Web Developers - 2

This document is an HTML4 cheat sheet created by Dave Child, outlining the structure, elements, and attributes of HTML4. It includes sections on document structure, lists, forms, tables, links, text formatting, images, objects, and core attributes. The cheat sheet serves as a quick reference for HTML4 syntax and usage.

Uploaded by

pavanbp479
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Ultimate HTML Cheatsheet For Web Developers - 2

This document is an HTML4 cheat sheet created by Dave Child, outlining the structure, elements, and attributes of HTML4. It includes sections on document structure, lists, forms, tables, links, text formatting, images, objects, and core attributes. The cheat sheet serves as a quick reference for HTML4 syntax and usage.

Uploaded by

pavanbp479
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML4 Cheat Sheet

by Dave Child (DaveChild) via cheatography.com/1/cs/17/

HTML4 Document Outline HTML4 Lists HTML4 Language Attributes

<!D​OCT​YPE> Version of (X)HTML <ol> Ordered list dir lang


<ht​ml> HTML document <ul> Unordered list Language Attributes may not be used in
<he​ad> Page inform​ation <li> List item base, br, frame, frameset, hr, iframe, param
or script elements.
<bo​dy> Page contents <dl> Definition list
<dt> Definition term
HTML4 Keyboard Attributes
HTML4 Comments
<dd> Term descri​ption
accesskey tabindex
<!-- Comment Text -->
HTML4 Forms
HTML4 Events
HTML4 Page Inform​ation
<fo​rm> Form
Window Events
<ba​se> Base URL
<fi​eld​set> Collection of fields
onload onunload
<me​ta> Meta data
<le​gen​d> Form legend
Form Events
<ti​tle> Title
<la​bel> Input label
onblur onreset
<li​nk> Relevant resource
<in​put> Form input
onchange onselect
<st​yle> Style resource
<se​lec​t> Drop-down box
onfocus onsubmit
<sc​rip​t> Script resource
<op​tgr​oup> Group of options
Keyboard Events
<op​tio​n> Drop-down options
HTML4 Document Structure onkeydown onkeyup
<te​xta​rea> Large text input
<h1> to <h6> Headings onkeypress
<bu​tto​n> Button
<di​v> Page section Mouse Events
<sp​an> Inline section HTML4 Tables onclick onmouseout
<p> Paragraph ondblclick onmous​eover
<ta​ble> Table
<br> Line break onmous​edown onmouseup
<ca​pti​on> Caption
<hr> Horizontal rule onmous​emove
<th​ead> Table header
<tb​ody> Table body
HTML4 Links
<tf​oot> Table footer
<a href=""> Page link
<co​lgr​oup> Column group
<a href="m​ail​to:​"> Email link
<co​l> Column
<a name="n​ame​"> Anchor
<tr> Table row
<a href="#​nam​e"> Link to anchor
<th> Header cell

HTML4 Text <td> Table cell

HTML4 Images

<im​g> Image
<ma​p> Image Map
<ar​ea> Area of Image Map

HTML4 Objects

<ob​jec​t> Object
<pa​ram> Parameter

HTML4 Core Attributes

class style
id title

Core Attributes may not be used with base,


<st​ron​g> Strong emphasis head, html, meta, param, script, style or title
elements.
<em> Emphasis
<bl​ock​quo​te> Long quotation
<q> Short quotation
<ab​br> Abbrev​iation
<ac​ron​ym> Acronym
<ad​dre​ss> Address
<pr​e> Pre-fo​rmatted text
<df​n> Definition
<co​de> Code
<ci​te> Citation
<de​l> Deleted text
<in​s> Inserted text
<su​b> Subscript

<su​p> Supers​cript
<bd​o> 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

You might also like