This is a paragraph before a definition list (dl
). In principle, such a list should consist of terms and associated definitions. But many authors use dl
elements for fancy "layout" things. Usually the effect is not too bad, if you design user style sheet rules for dl
which are suitable for real definition lists.
abbr
markup used)
acronym
markup used)
b
markup used - just bolding with unspecified semantics)
big
markup used)
font size=6
markup used)
font face=Courier
markup used)
font color=red
markup used)
cite
markup used)
a[i] = b[i] + c[i);
(computer code; code
markup used)
del
markup used)
dfn
markup used for the term being defined)
em
markup used for emphasizing a word)
i
markup used)
ins
markup used)
kbd
markup used for text indicating keyboard input)
Hello!(
q
markup used for quotation)
She said(a quotation inside a quotation)Hello!
samp
markup used for sample output)
small
markup used)
strike
markup used; note: s
is a nonstandard synonym for strike
)
strong
markup used)
sub
and sup
markup) work inside running text, we need some dummy text around constructs like
x1 and H2O (where subscripts occur). So here is some fill so that you will (hopefully) see
whether and how badly the subscripts and superscripts mess up vertical spacing between
lines. Now superscripts: Mlle, 1st, and then some mathematical notations: ex, sin2 x, and some nested superscripts (exponents) too: ex2 and f(x)g(x)a+b+c (where 2 and a+b+c should appear as exponents of exponents).
tt
markup used)
u
markup used)
cat
filename displays the file specified by the filename (var
markup used to indicate a word as a variable).
Some of the elements tested above are typically displayed in a monospace font, often using the same presentation for all of them. This tests whether that is the case on your browser:
This is sample text inside code markup
This is a text paragraph that contains some inline links. Generally, inline links (as opposite to e.g. links lists) are problematic from the usability perspective, but they may have use as “incidental”, less relevant links. See the document Links Want To Be Links.
The following table has some sample characters with annotations. If the browser’s default font does not contain all of them, they may get displayed using backup fonts. This may cause stylistic differences, but it should not prevent the characters from being displayed at all.
Char. | Explanation | Notes |
---|---|---|
ê | e with circumflex | Latin 1 character, should be ok |
— | em dash | Windows Latin 1 character, should be ok, too |
Ā | A with macron (line above) | Latin Extended-A character, not present in all fonts |
Ω | capital omega | A Greek letter |
− | minus sign | Unicode minus |
⌀ | diameter sign | relatively rare in fonts |