htmlcheatsheet.pdf

(71 KB) Pobierz
354937696 UNPDF
XHTML Cheat Sheet v. 1.03
%attrs
%coreattrs
%i18n
%events
BLOCK ELEMENTS
address
information on author
%attrs
deprecated
elements
applet
center
dir
menu
basefont
font
isindex
s
strike
u
blockquote long quotation
%attrs, cite
%coreattrs
id
class
style
title
div
generic container (block)
%attrs, align*
dl
definition list
%attrs, compact*
fieldset
form control group
%attrs
form
interactive form
%attrs, action , method, enctype, accept,
name*, onsubmit, onreset, accept-charset,
target*
%i18n
xml:lang
lang
dir
h1-h6
six levels of headings
%attrs, align*
entities
" "
& &
< &lt;
> &gt;
' &apos;
hr horizontal rule
%attrs, align*, size*, width*, noshade *
%events
onclick
ondblclick
onmousedown
onmouseup
onmouseover
onmousemove
onmouseout
onkeypress
onkeydown
onkeyup
noframes* alternate content for non
frame-based rendering
%attrs
noscript
content when scripts disabled %attrs
ol
ordered list
%attrs, type*, start*, compact *
(space) &nbsp;
¡ &iexcl;
¢ &cent;
£ &pound;
¤ &curren;
¥ &yen;
¦ &brvbar;
§ &sect;
¨ &uml;
© &copy;
ª &ordf;
« &laquo;
¬ &not;
- (cond.) &shy;
® &reg;
¯ &macr;
° &deg;
± &plusmn;
¹ &sup1;
² &sup2;
³ &sup3;
´ &acute;
µ &micro;
¶ &para;
· &middot;
¸ &cedil;
º &ordm;
» &raquo;
¼ &frac14;
½ &frac12;
¾ &frac34;
¿ &iquest;
À &Agrave;
Á &Aacute;
 &Acirc;
à &Atilde;
Ä &Auml;
Å &Aring;
Æ &AElig;
Ç &C cedil;
È &Egrave;
É &Eacute;
Ê &Ecirc;
Ë &Euml;
Ì &Igrave;
Í &Iacute;
Î &Icirc;
Ï &Iuml;
Ð &ETH;
Ñ &Ntilde;
Ò &Ograve;
Ó &Oacute;
Ô &Ocirc;
Õ &Otilde;
Ö &Ouml;
p
paragraph
%attrs, align*
pre
preformatted text
%attrs, width*
ul
unordered list
%attrs, type*, compact *
INLINE ELEMENTS
a
%focus
accesskey
tabindex
onfocus
onblur
anchor (or link)
%attrs, charset, type, name, rel, rev, href,
hreflang, target*, shape, coords, %focus
abbr
abbreviation
%attrs
acronym
acronym (UNO, NATO,...)
%attrs
input types
text
password
checkbox
radio
submit
image
reset
button
hidden
file
b
bold text
%attrs
bdo
I18N BiDi over-ride
%coreattrs, %events, xml:lang, lang, dir
big
large font
%attrs
br forced line break
%coreattrs, clear*
button
push button
%attrs, name, value, type, disabled , %focus
cite
citation or reference
%attrs
code
computer code
%attrs
dfn
definition
%attrs
link types
(rel, rev)
alternate
stylesheet
start
next
prev
contents
index
glossary
copyright
chapter
section
subsection
appendix
help
bookmark
em
emphasis
%attrs
i
italic text
%attrs
iframe*
inline subwindow
%coreattrs, londesc, name, src, frameborder,
marginwidth, marginheight, scrolling, align*,
height, width
img embedded image
%attrs, src , alt , longdesc, name, height,
width, usemap, ismap , align*, border*,
hspace*, vspace*
input form control
%attrs, type, name, value, checked , disabled ,
readonly , size, maxlength, src, alt, ismap ,
usemap, onselect, onchange, accept, %focus,
align*
kbd
text to be entered by the user %attrs
label
form field label text
%attrs, for, accesskey, onfocus, onblur
media descriptors
screen
tty
tv
projection
handheld
print
braille
aural
all
map
client-side image map
%i18n, %events, id , class, style, title, name
object
generic embedded object
%attrs, declare , classid, codebase, data, type,
codetype, archive, standby, height, width,
usemap, name, tabindex, align*, border*,
hspace*, vspace*
q
short inline quotation
%attrs, cite
samp
sample output from scripts
%attrs
select
option selector
%attrs, name, size, multiple , disabled ,
tabindex, onfocus, onblur, onchange
354937696.003.png 354937696.004.png 354937696.005.png
&times; ×
&Oslash; Ø
&Ugrave; Ù
&Uacute; Ú
&Ucirc; Û
&Uuml; Ü
&Yacute; Ý
&THORN; Þ
&szlig; ß
&agrave; à
&aacute; á
&acirc; â
&atilde; ã
&auml; ä
&aring; å
&aelig; æ
&ccedil; ç
&egrave; è
&eacute; é
&ecirc; ê
&euml; ë
&igrave; ì
&iacute; í
&icirc; î
&iuml; ï
&eth; ð
&ntilde; ñ
&ograve; ò
&oacute; ó
&ocirc; ô
&otilde; õ
&ouml; ö
&divide; ÷
&oslash; ø
&ugrave; ù
&uacute; ú
&ucirc; û
&uuml; ü
&yacute; ý
&thorn; þ
&yuml; ÿ
small
small font
%attrs
&sube;
&supe;
span
generic container (inline)
%attrs
&oplus;
strong
indicates stronger emphasis %attrs
&otimes;
&perp;
sub
subscript
%attrs
&sdot;
◊ &loz;
sup
superscript
%attrs
textarea
multi-line text field
%attrs, name, rows , cols , disabled , readonly ,
onselect, onchange, %focus
&lceil;
&rceil;
&lfloor;
tt
teletype or monospaced text %attrs
&rfloor;
var
instance of a variable or
program argument
%attrs
&lang;
&rang;
TABLE ELEMENTS
caption
table caption
%attrs, align*
&larr;
&rarr;
col table column
%attrs, span, width, valign, align, char, charoff
&darr;
colgroup
table column group
%attrs, span, width, valign, align, char, charoff
&harr;
&crarr;
table
table element (block)
%attrs, summary, width, border, frame, rules,
cellspacing, cellpadding, align*, bgcolor*
&lArr;
&uArr;
tbody
table body
%attrs, align, char, charoff, valign
&rArr;
&dArr;
td
table data cell
%attrs, abbr, axis, headers, scope, rowspan,
colspan, align, char, charoff, valign, bgcolor*,
nowrap *, width*, height*
&hArr;
• &bull;
′ &prime;
‾ &oline;
⁄ &frasl;
tfoot
table footer
%attrs, align, char, charoff, valign
th
table header cell
%attrs, abbr, axis, headers, scope, rowspan,
colspan, align, char, charoff, valign, bgcolor*,
nowrap *, width*, height*
&weierp;
&image;
&real;
™ &trade;
€ &euro;
thead
table header
%attrs, align, char, charoff, valign
tr
table row
%attrs, align, char, charoff, valign, bgcolor*
&alefsym;
OTHER ELEMENTS
area image map area
&spades;
%attrs, shape, coords, href, nohref, alt ,
target*, %focus
&hearts;
&diams;
base document base URI
href , id, target*
&forall;
&part; ∂
&exist;
&empty;
&nabla;
&isin;
&notin;
&ni;
&prod; ∏
&sum; ∑
&minus; −
&lowast;
&radic; √
&prop;
&infin; ∞
&ang;
&and;
&or;
&cap;
&cup;
&int; ∫
&there4; .˙.
&sim; ~
&cong;
&asymp; ≈
&ne; ≠
&equiv;
&le; ≤
&ge; ≥
&sub;
&sup;
&nsub;
body
document body
%attrs, onload, onunload, background*,
bgcolor*, text*, link*, vlink*, alink*
&ensp;
&emsp;
&thinsp;
&zwnj;
&zwj;
&lrm;
&rlm;
– &ndash;
— &mdash;
‘ &lsquo;
’ &rsquo;
‚ &sbquo;
“ &ldquo;
” &rdquo;
„ &bdquo;
† &dagger;
‡ &Dagger;
… &hellip;
‰ &permil;
‹ &lsaquo;
› &rsaquo;
dd
definition description
%attrs
del
deleted text
%attrs, cite, datetime
dt
definition term
%attrs
frame subwindow
%coreattrs, longdesc, name, src, frameborder,
marginwidth, marginheight, noresize , scrolling
frameset
window subdivision
%coreattrs, rows, cols, onload, onunload
head
document head
%i18n, id, profile
html
root element
%i18n, version*
ins
inserted text
%attrs, cite, datetime
legend
fieldset legend
%attrs, accesskey, align*
li
list item
%attrs, type*, value*
link media-independent link
%attrs, charset, href, hreflang, type, rel, rev,
media, target*
meta generic metainformation
%i18n, id, http-equiv, name, content , scheme
* deprec ated or
not allowed in
Stric t DT D if
allowed in
T rans itional DT D
optgroup
option group
%attrs, disabled , label
option
selectable choice
%attrs, selected , disabled , label, value
param named property value
id, name , value, valuetype, type
script
script statements
id, charset, type , src, defer, language*
fixed value
style
style info
%i18n, id, type , media, title
attribute required
title
document title
%i18n, id
boolean attribute
or empty element
© Florian Schmitz 2005 (comments to floele@gmail.com)
&uarr;
&clubs;
354937696.006.png 354937696.001.png 354937696.002.png
Zgłoś jeśli naruszono regulamin