Specification
Contents
Previous
Next

15.2 Fonts

15.2.1 Font Style Elements: The TT, I, B, BIG, SMALL, STRIKE, S, and U Elements

All of the mentioned elements are shown below (only part of each line is styled with these tags, and if CSS is supported, those parts will appear as yellow on navy).
This is T[ele]T[ype] text.
This is I[talicized] text.
This is B[old] text.
This is BIG text.
This is SMALL text.
This is STRIKE[out] text.
This is S[trikeout] text.
This is U[nderlined] text.

15.2.2 Font Modifier Elements: FONT and BASEFONT

The contents of the three columns below should appear identical, except for the headers, since the cells with relative sizes declare different basefont sizes.
Using Absolute SizesUsing Positive Relative SizesUsing Negative Relative Sizes
1
2
3
4
5
6
7
1
2
3
4
5
6
7
1
2
3
4
5
6
7

Color Inheritance (basefont is blue): red blue

Font faces:
The text below should have the logical or real fonts described.
sans-serif
monospace
serif
Arial, Geneva, Helvetica (sans-serif fonts)
Courier New (serif monospace font)
Times (serif font)

15.3 Rules: The HR Element

The horizontal rules below should appear as described.

Deprecated attributes

Alignment (Width of half the viewport)
Left:


Center:
Right:

Normal groove for comparison with below


Noshade (should be solid, instead of having an inset border)


Non-minimized

Size (pixels)
10:


20:

Width (pixels or percentage)
50 Pixels:


30%:

Valid HTML 4.01!