|
1 |
|
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
3 <html> |
|
4 <head> |
|
5 <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
6 <title>YUI 3.x: CSS Fonts Contextual Example</title> |
|
7 <link rel="stylesheet" href="../../build/cssreset/reset.css" type="text/css"> |
|
8 <link rel="stylesheet" href="../../build/cssfonts/fonts-context.css" type="text/css"> |
|
9 </head> |
|
10 <body> |
|
11 |
|
12 <div class="yui-cssfonts"> |
|
13 <h1>In Context</h1> |
|
14 |
|
15 <h1>This is a H1 element.</h1> |
|
16 <h2>This is a H2 element.</h2> |
|
17 <h3>This is a H3 element.</h3> |
|
18 <h4>This is a H4 element.</h4> |
|
19 <h5>This is a H5 element.</h5> |
|
20 <h6>This is a H6 element.</h6> |
|
21 |
|
22 <ul> |
|
23 <li>This is a LI in a UL</li> |
|
24 </ul> |
|
25 |
|
26 <ol> |
|
27 <li>This is a LI in a UL</li> |
|
28 </ol> |
|
29 |
|
30 <dl> |
|
31 <dt>This is a DT in a DL</dt> |
|
32 <dd>This is a DD in a DL</dd> |
|
33 </dl> |
|
34 |
|
35 <form> |
|
36 <input type="text" value="This is an INPUT type TEXT in a FORM"/> |
|
37 |
|
38 <select> |
|
39 <option>This is an OPTION in a SELECT</option> |
|
40 <option>This is an OPTION in a SELECT</option> |
|
41 <optgroup> |
|
42 <option>This is an OPTION in a OPTGROUP in a SELECT</option> |
|
43 <option>This is an OPTION in a OPTGROUP in a SELECT</option> |
|
44 </optgroup> |
|
45 <option>This is an OPTION in a SELECT</option> |
|
46 </select> |
|
47 |
|
48 <textarea name="ta1">This is text in a TEXTAREA in a FORM</textarea> |
|
49 |
|
50 <fieldset> |
|
51 <textarea name="ta2">This is text in a TEXTAREA in a FIELDSET in a FORM</textarea> |
|
52 </fieldset> |
|
53 |
|
54 <button>This is a BUTTON</button> |
|
55 |
|
56 </form> |
|
57 |
|
58 <p>This paragraph contains a bunch of phrase elements. Up first in an <a href="test">[A]nchor</a>, followed by an <abbr title="test">ABBR with a title value</abbr>, followed by an <acronym title="test">ACRONYM with a title value</acronym>, followed by an <address>ADDRESS</address>, followed by a <cite>CITE</cite> element, followed by a <code>CODE</code> element, followed by a <del>DEL</del> element, followed by a <em>EM</em> element, followed by a <ins>INS</ins> element, followed by a <kbd>KBD</kbd> element, followed by a <q>Q</q> element, followed by a <samp>SAMP</samp> element, followed by a <span>SPAN</span> element, followed by a <strong>STRONG</strong> element, followed by a <tt>TT</tt> element, followed by a <var>VAR</var> element, all within a containing P.</p> |
|
59 |
|
60 <blockquote>This is a BLOCKQUOTE element.</blockquote> |
|
61 |
|
62 <table> |
|
63 <caption>This is a CAPTION in a TABLE</caption> |
|
64 <thead> |
|
65 <tr> |
|
66 <th>This is a TH in a TR in a THEAD in a TABLE</th> |
|
67 <td>This is a TD in a TR in a THEAD in a TABLE</td> |
|
68 </tr> |
|
69 </thead> |
|
70 <tfoot> |
|
71 <tr> |
|
72 <th>This is a TH in a TR in a TFOOT in a TABLE</th> |
|
73 <td>This is a TD in a TR in a TFOOT in a TABLE</td> |
|
74 </tr> |
|
75 </tfoot> |
|
76 <tbody> |
|
77 <tr> |
|
78 <th>This is a TH in a TR in a TBODY in a TABLE</th> |
|
79 <td>This is a TD in a TR in a TBODY in a TABLE</td> |
|
80 </tr> |
|
81 </tbody> |
|
82 </table> |
|
83 |
|
84 </div> |
|
85 |
|
86 <div> |
|
87 <h1>Out of Context</h1> |
|
88 |
|
89 <h1>This is a H1 element.</h1> |
|
90 <h2>This is a H2 element.</h2> |
|
91 <h3>This is a H3 element.</h3> |
|
92 <h4>This is a H4 element.</h4> |
|
93 <h5>This is a H5 element.</h5> |
|
94 <h6>This is a H6 element.</h6> |
|
95 |
|
96 <ul> |
|
97 <li>This is a LI in a UL</li> |
|
98 </ul> |
|
99 |
|
100 <ol> |
|
101 <li>This is a LI in a UL</li> |
|
102 </ol> |
|
103 |
|
104 <dl> |
|
105 <dt>This is a DT in a DL</dt> |
|
106 <dd>This is a DD in a DL</dd> |
|
107 </dl> |
|
108 |
|
109 <form> |
|
110 <input type="text" value="This is an INPUT type TEXT in a FORM"/> |
|
111 |
|
112 <select> |
|
113 <option>This is an OPTION in a SELECT</option> |
|
114 <option>This is an OPTION in a SELECT</option> |
|
115 <optgroup> |
|
116 <option>This is an OPTION in a OPTGROUP in a SELECT</option> |
|
117 <option>This is an OPTION in a OPTGROUP in a SELECT</option> |
|
118 </optgroup> |
|
119 <option>This is an OPTION in a SELECT</option> |
|
120 </select> |
|
121 |
|
122 <textarea name="ta1">This is text in a TEXTAREA in a FORM</textarea> |
|
123 |
|
124 <fieldset> |
|
125 <textarea name="ta2">This is text in a TEXTAREA in a FIELDSET in a FORM</textarea> |
|
126 </fieldset> |
|
127 |
|
128 <button>This is a BUTTON</button> |
|
129 |
|
130 </form> |
|
131 |
|
132 <p>This paragraph contains a bunch of phrase elements. Up first in an <a href="test">[A]nchor</a>, followed by an <abbr title="test">ABBR with a title value</abbr>, followed by an <acronym title="test">ACRONYM with a title value</acronym>, followed by an <address>ADDRESS</address>, followed by a <cite>CITE</cite> element, followed by a <code>CODE</code> element, followed by a <del>DEL</del> element, followed by a <em>EM</em> element, followed by a <ins>INS</ins> element, followed by a <kbd>KBD</kbd> element, followed by a <q>Q</q> element, followed by a <samp>SAMP</samp> element, followed by a <span>SPAN</span> element, followed by a <strong>STRONG</strong> element, followed by a <tt>TT</tt> element, followed by a <var>VAR</var> element, all within a containing P.</p> |
|
133 |
|
134 <blockquote>This is a BLOCKQUOTE element.</blockquote> |
|
135 |
|
136 <table> |
|
137 <caption>This is a CAPTION in a TABLE</caption> |
|
138 <thead> |
|
139 <tr> |
|
140 <th>This is a TH in a TR in a THEAD in a TABLE</th> |
|
141 <td>This is a TD in a TR in a THEAD in a TABLE</td> |
|
142 </tr> |
|
143 </thead> |
|
144 <tfoot> |
|
145 <tr> |
|
146 <th>This is a TH in a TR in a TFOOT in a TABLE</th> |
|
147 <td>This is a TD in a TR in a TFOOT in a TABLE</td> |
|
148 </tr> |
|
149 </tfoot> |
|
150 <tbody> |
|
151 <tr> |
|
152 <th>This is a TH in a TR in a TBODY in a TABLE</th> |
|
153 <td>This is a TD in a TR in a TBODY in a TABLE</td> |
|
154 </tr> |
|
155 </tbody> |
|
156 </table> |
|
157 </div> |
|
158 </body> |