Podstawowe encje, bez których trudno się obejść to skróty kodujące <
,
&
, >
, które są częścią składni
(X)HTML i mogą
zostać potraktowane przez parser jako początek znacznika,
początek encji lub koniec znacznika. Jeśli więc przychodzi potrzeba zakodowania tych znaków należy użyć
odpowiednio <
, &
lub >
.
Warto również pomyśleć nad zastosowaniem spacji nierozdzielających
które
pozwalają czuwać nad typografią na stronie i nie pozwalają na przenoszenie do nowej linii pojedynczych
literek typu „i”, „a”, „w” itp. Z drugiej strony można pokusić się
o wstawienie pomiędzy sylaby łącznika ukrytego ­
, który spowoduje w razie potrzeby
podział słowa wstawiając na końcu linii znak przeniesienia.
­
)Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris ornare magna in justo. Duis et orci. Vivamus velit eros, tincidunt in, condimentum in, pharetra et, odio. Nam a tellus. Integer feugiat tempor lacus. Proin mattis est sodales leo. Praesent nec sem. Aliquam erat volutpat. Morbi vel lacus. Nam massa nulla, consequat placerat, ullamcorper et, placerat et, justo. Nunc aliquet placerat tortor. Nullam vel quam eu risus dignissim aliquam. Sed vel metus. Praesent a eros.
­
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris ornare magna in justo. Duis et orci. Vivamus velit eros, tincidunt in, condimentum in, pharetra et, odio. Nam a tellus. Integer feugiat tempor lacus. Proin mattis est sodales leo. Praesent nec sem. Aliquam erat volutpat. Morbi vel lacus. Nam massa nulla, consequat placerat, ullamcorper et, placerat et, justo. Nunc aliquet placerat tortor. Nullam vel quam eu risus dignissim aliquam. Sed vel metus. Praesent a eros.
Efekt takiego formatowanie nie jest idealny, ale poprawia wygląd długich akapitów szczególnie w wąskich kolumnach tekstu.
Dzięki zastosowaniu encji możemy również porządnie zakodować cudzysłowy.
Zamiast głupich
cudzysłowów prostych
'…' lub "…" mamy do dyspozycji prawdziwe cudzysłowy typograficzne. Możemy, więc na stronie
wymalować cudzysłowy apostrofowe „…”, przecinkowe ‚…’, ostrokątne
francuskie «…» albo niemieckie »…« czy też cudzysłowy
definicyjne ‘…’
Poniżej wymienone są wszystki encje dostępne w HTML 4. Z powodu zdefiniowania w arkuszu CSS dla strony czcionek „Trebuchet MS”, Geneva, Arial, Helvetica, SunSans-Regular, sans-serif, niektóre encje mogą nie być wyświetlone.
opis
[ ]
no-break space = non-breaking space
¡
[¡]
inverted exclamation mark
¢
[¢]
cent sign
£
[£]
pound sign
¤
[¤]
currency
¥
[¥]
yen sign = yuan sign
¦
[¦]
broken bar = broken vertical bar
§
[§]
section sign
¨
[¨]
diaeresis = spacing diaeresis
©
[©]
copyright sign
ª
[ª]
feminine ordinal indicator
«
[«]
left-pointing double angle quotation mark = left pointing guillemet
¬
[¬]
not sign = angled dash
­
[­]
soft hyphen = discretionary hyphen
®
[®]
registered sign = registered trade mark sign
¯
[¯]
macron = spacing macron = overline = APL overbar
°
[°]
degree sign
±
[±]
plus-minus sign = plus-or-minus sign
²
[²]
superscript two = superscript digit two = squared
³
[³]
superscript three = superscript digit three = cubed
´
[´]
acute accent = spacing acute
µ
[µ]
micro sign
¶
[¶]
pilcrow sign = paragraph sign
·
[·]
middle dot = Georgian comma = Greek middle dot
¸
[¸]
cedilla = spacing cedilla
¹
[¹]
superscript one = superscript digit one
º
[º]
masculine ordinal indicator
»
[»]
right-pointing double angle quotation mark = right pointing guillemet
¼
[¼]
vulgar fraction one quarter = fraction one quarter
½
[½]
vulgar fraction one half = fraction one half
¾
[¾]
vulgar fraction three quarters = fraction three quarters
¿
[¿]
inverted question mark = turned question mark
À
[À]
latin capital letter A with grave = latin capital letter A grave
Á
[Á]
latin capital letter A with acute
Â
[Â]
latin capital letter A with circumflex
Ã
[Ã]
latin capital letter A with tilde
Ä
[Ä]
latin capital letter A with diaeresis
Å
[Å]
latin capital letter A with ring above = latin capital letter A ring
Æ
[Æ]
latin capital letter AE = latin capital ligature AE
Ç
[Ç]
latin capital letter C with cedilla
È
[È]
latin capital letter E with grave
É
[É]
latin capital letter E with acute
Ê
[Ê]
latin capital letter E with circumflex
Ë
[Ë]
latin capital letter E with diaeresis
Ì
[Ì]
latin capital letter I with grave
Í
[Í]
latin capital letter I with acute
Î
[Î]
latin capital letter I with circumflex
Ï
[Ï]
latin capital letter I with diaeresis
Ð
[Ð]
latin capital letter ETH
Ñ
[Ñ]
latin capital letter N with tilde
Ò
[Ò]
latin capital letter O with grave
Ó
[Ó]
latin capital letter O with acute
Ô
[Ô]
latin capital letter O with circumflex
Õ
[Õ]
latin capital letter O with tilde
Ö
[Ö]
latin capital letter O with diaeresis
×
[×]
multiplication sign
Ø
[Ø]
latin capital letter O with stroke = latin capital letter O slash
Ù
[Ù]
latin capital letter U with grave
Ú
[Ú]
latin capital letter U with acute
Û
[Û]
latin capital letter U with circumflex
Ü
[Ü]
latin capital letter U with diaeresis
Ý
[Ý]
latin capital letter Y with acute
Þ
[Þ]
latin capital letter THORN
ß
[ß]
latin small letter sharp s = ess-zed
à
[à]
latin small letter a with grave = latin small letter a grave
á
[á]
latin small letter a with acute
â
[â]
latin small letter a with circumflex
ã
[ã]
latin small letter a with tilde
ä
[ä]
latin small letter a with diaeresis
å
[å]
latin small letter a with ring above = latin small letter a ring
æ
[æ]
latin small letter ae = latin small ligature ae
ç
[ç]
latin small letter c with cedilla
è
[è]
latin small letter e with grave
é
[é]
latin small letter e with acute
ê
[ê]
latin small letter e with circumflex
ë
[ë]
latin small letter e with diaeresis
ì
[ì]
latin small letter i with grave
í
[í]
latin small letter i with acute
î
[î]
latin small letter i with circumflex
ï
[ï]
latin small letter i with diaeresis
ð
[ð]
latin small letter eth
ñ
[ñ]
latin small letter n with tilde
ò
[ò]
latin small letter o with grave
ó
[ó]
latin small letter o with acute
ô
[ô]
latin small letter o with circumflex
õ
[õ]
latin small letter o with tilde
ö
[ö]
latin small letter o with diaeresis
÷
[÷]
division sign
ø
[ø]
latin small letter o with stroke, = latin small letter o slash
ù
[ù]
latin small letter u with grave
ú
[ú]
latin small letter u with acute
û
[û]
latin small letter u with circumflex
ü
[ü]
latin small letter u with diaeresis
ý
[ý]
latin small letter y with acute
þ
[þ]
latin small letter thorn
ÿ
[ÿ]
latin small letter y with diaeresis
opis
"
["]
quotation mark
&
[&"#38;#38";]
ampersand
<
[&"#38;#60";]
less-than sign
>
[>]
greater-than sign
'
[']
apostrophe = APL quote
Œ
[Œ]
latin capital ligature OE
œ
[œ]
latin small ligature oe
Š
[Š]
latin capital letter S with caron
š
[š]
latin small letter s with caron
Ÿ
[Ÿ]
latin capital letter Y with diaeresis
ˆ
[ˆ]
modifier letter circumflex accent
˜
[˜]
small tilde
 
[ ]
en space
 
[ ]
em space
 
[ ]
thin space
‌
[‌]
zero width non-joiner
‍
[‍]
zero width joiner
‎
[‎]
left-to-right mark
‏
[‏]
right-to-left mark
–
[–]
en dash
—
[—]
em dash
‘
[‘]
left single quotation mark
’
[’]
right single quotation mark
‚
[‚]
single low-9 quotation mark
“
[“]
left double quotation mark
”
[”]
right double quotation mark
„
[„]
double low-9 quotation mark
†
[†]
dagger
‡
[‡]
double dagger
‰
[‰]
per mille sign
‹
[‹]
single left-pointing angle quotation mark
›
[›]
single right-pointing angle quotation mark,
€
[€]
euro sign
opis
ƒ
[ƒ]
latin small letter f with hook = function = florin
Α
[Α]
greek capital letter alpha
Β
[Β]
greek capital letter beta
Γ
[Γ]
greek capital letter gamma
Δ
[Δ]
greek capital letter delta
Ε
[Ε]
greek capital letter epsilon
Ζ
[Ζ]
greek capital letter zeta
Η
[Η]
greek capital letter eta
Θ
[Θ]
greek capital letter theta
Ι
[Ι]
greek capital letter iota
Κ
[Κ]
greek capital letter kappa
Λ
[Λ]
greek capital letter lamda
Μ
[Μ]
greek capital letter mu
Ν
[Ν]
greek capital letter nu
Ξ
[Ξ]
greek capital letter xi
Ο
[Ο]
greek capital letter omicron
Π
[Π]
greek capital letter pi
Ρ
[Ρ]
greek capital letter rho
Σ
[Σ]
greek capital letter sigma
Τ
[Τ]
greek capital letter tau
Υ
[Υ]
greek capital letter upsilon
Φ
[Φ]
greek capital letter phi
Χ
[Χ]
greek capital letter chi
Ψ
[Ψ]
greek capital letter psi
Ω
[Ω]
greek capital letter omega
α
[α]
greek small letter alpha
β
[β]
greek small letter beta
γ
[γ]
greek small letter gamma
δ
[δ]
greek small letter delta
ε
[ε]
greek small letter epsilon
ζ
[ζ]
greek small letter zeta
η
[η]
greek small letter eta
θ
[θ]
greek small letter theta
ι
[ι]
greek small letter iota
κ
[κ]
greek small letter kappa
λ
[λ]
greek small letter lamda
μ
[μ]
greek small letter mu
ν
[ν]
greek small letter nu
ξ
[ξ]
greek small letter xi
ο
[ο]
greek small letter omicron
π
[π]
greek small letter pi
ρ
[ρ]
greek small letter rho
ς
[ς]
greek small letter final sigma
σ
[σ]
greek small letter sigma
τ
[τ]
greek small letter tau
υ
[υ]
greek small letter upsilon
φ
[φ]
greek small letter phi
χ
[χ]
greek small letter chi
ψ
[ψ]
greek small letter psi
ω
[ω]
greek small letter omega
ϑ
[ϑ]
greek theta symbol
ϒ
[ϒ]
greek upsilon with hook symbol
ϖ
[ϖ]
greek pi symbol
opis
•
[•]
bullet = black small circle
…
[…]
horizontal ellipsis = three dot leader
′
[′]
prime = minutes = feet
″
[″]
double prime = seconds = inches
‾
[‾]
overline = spacing overscore
⁄
[⁄]
fraction slash
opis
℘
[℘]
script capital P = power set = Weierstrass p
ℑ
[ℑ]
black-letter capital I = imaginary part
ℜ
[ℜ]
black-letter capital R = real part symbol
™
[™]
trade mark sign
ℵ
[ℵ]
alef symbol = first transfinite cardinal
opis
←
[←]
leftwards arrow
↑
[↑]
upwards arrow
→
[→]
rightwards arrow
↓
[↓]
downwards arrow
↔
[↔]
left right arrow
↵
[↵]
downwards arrow with corner leftwards = carriage return
⇐
[⇐]
leftwards double arrow
⇑
[⇑]
upwards double arrow
⇒
[⇒]
rightwards double arrow
⇓
[⇓]
downwards double arrow
⇔
[⇔]
left right double arrow
opis
∀
[∀]
for all
∂
[∂]
partial differential
∃
[∃]
there exists
∅
[∅]
empty set = null set
∇
[∇]
nabla = backward difference
∈
[∈]
element of
∉
[∉]
not an element of
∋
[∋]
contains as member
∏
[∏]
n-ary product = product sign
∑
[∑]
n-ary summation
−
[−]
minus sign
∗
[∗]
asterisk operator
√
[√]
square root = radical sign
∝
[∝]
proportional to
∞
[∞]
infinity
∠
[∠]
angle
∧
[∧]
logical and = wedge
∨
[∨]
logical or = vee
∩
[∩]
intersection = cap
∪
[∪]
union = cup
∫
[∫]
integral
∴
[∴]
therefore
∼
[∼]
tilde operator = varies with = similar to
≅
[≅]
approximately equal to
≈
[≈]
almost equal to = asymptotic to
≠
[≠]
not equal to
≡
[≡]
identical to
≤
[≤]
less-than or equal to
≥
[≥]
greater-than or equal to
⊂
[⊂]
subset of
⊃
[⊃]
superset of
⊄
[⊄]
not a subset of
⊆
[⊆]
subset of or equal to
⊇
[⊇]
superset of or equal to
⊕
[⊕]
circled plus = direct sum
⊗
[⊗]
circled times = vector product
⊥
[⊥]
up tack = orthogonal to = perpendicular
⋅
[⋅]
dot operator
opis
⌈
[⌈]
left ceiling = APL upstile
⌉
[⌉]
right ceiling
⌊
[⌊]
left floor = APL downstile
⌋
[⌋]
right floor
⟨
[〈]
left-pointing angle bracket = bra
⟩
[〉]
right-pointing angle bracket = ket
opis
◊
[◊]
lozenge
opis
♠
[♠]
black spade suit
♣
[♣]
black club suit = shamrock
♥
[♥]
black heart suit = valentine
♦
[♦]
black diamond suit