1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
4 <title>CSS 2.1 Test Suite: first-letter</title>
5 <style type="text/css">
7 p:first-letter {color: green;}
8 .two:first-letter {font-size: 200%;}
9 p.three:first-letter {font-size: 350%;}
11 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" title="5.12.2 The :first-letter pseudo-element">
15 The <strong>first letter</strong> of this paragraph, and only that
16 one, should be <strong>green</strong>. If this precise combination
17 does not occur, then the user agent has failed this test.
20 The <strong>first letter</strong> of this paragraph, and only that
21 one, should be in a <strong>larger</strong> font size, as well as
22 <strong>green</strong>. If this precise combination does not occur,
23 then the user agent has failed this test.
26 "The <strong>first two characters</strong> in this paragraph (a
27 double-quote mark and a capital 'T') should be in a <strong>much
28 larger</strong> font size than the rest of the paragraph, and
29 <strong>green</strong>. If this precise combination does not occur,
30 then the user agent has failed this test.