|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
2 <html> |
|
3 <head> |
|
4 <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
5 <title>YUI 3.x: CSS Reset Basic Example</title> |
|
6 <link rel="stylesheet" href="../../build/cssreset/cssreset.css" type="text/css"> |
|
7 <script src="../../build/yui/yui-min.js"></script> |
|
8 </head> |
|
9 <body> |
|
10 <div id="page"> |
|
11 <h1>This is a H1 element.</h1> |
|
12 <h2>This is a H2 element.</h2> |
|
13 <h3>This is a H3 element.</h3> |
|
14 <h4>This is a H4 element.</h4> |
|
15 <h5>This is a H5 element.</h5> |
|
16 <h6>This is a H6 element.</h6> |
|
17 |
|
18 <ul> |
|
19 <li>This is a LI in a UL</li> |
|
20 </ul> |
|
21 |
|
22 <ol> |
|
23 <li>This is a LI in a UL</li> |
|
24 </ol> |
|
25 |
|
26 <dl> |
|
27 <dt>This is a DT in a DL</dt> |
|
28 <dd>This is a DD in a DL</dd> |
|
29 </dl> |
|
30 |
|
31 <form> |
|
32 <input type="text" value="This is an INPUT type TEXT in a FORM"/> |
|
33 |
|
34 <select> |
|
35 <option>This is an OPTION in a SELECT</option> |
|
36 <option>This is an OPTION in a SELECT</option> |
|
37 <optgroup> |
|
38 <option>This is an OPTION in a OPTGROUP in a SELECT</option> |
|
39 <option>This is an OPTION in a OPTGROUP in a SELECT</option> |
|
40 </optgroup> |
|
41 <option>This is an OPTION in a SELECT</option> |
|
42 </select> |
|
43 |
|
44 <textarea name="ta1">This is text in a TEXTAREA in a FORM</textarea> |
|
45 |
|
46 <fieldset> |
|
47 <textarea name="ta2">This is text in a TEXTAREA in a FIELDSET in a FORM</textarea> |
|
48 </fieldset> |
|
49 |
|
50 <button>This is a BUTTON</button> |
|
51 |
|
52 </form> |
|
53 |
|
54 <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> |
|
55 |
|
56 <blockquote>This is a BLOCKQUOTE element.</blockquote> |
|
57 |
|
58 <table> |
|
59 <caption>This is a CAPTION in a TABLE</caption> |
|
60 <thead> |
|
61 <tr> |
|
62 <th>This is a TH in a TR in a THEAD in a TABLE</th> |
|
63 <td>This is a TD in a TR in a THEAD in a TABLE</td> |
|
64 </tr> |
|
65 </thead> |
|
66 <tfoot> |
|
67 <tr> |
|
68 <th>This is a TH in a TR in a TFOOT in a TABLE</th> |
|
69 <td>This is a TD in a TR in a TFOOT in a TABLE</td> |
|
70 </tr> |
|
71 </tfoot> |
|
72 <tbody> |
|
73 <tr> |
|
74 <th>This is a TH in a TR in a TBODY in a TABLE</th> |
|
75 <td>This is a TD in a TR in a TBODY in a TABLE</td> |
|
76 </tr> |
|
77 </tbody> |
|
78 </table> |
|
79 </div> |
|
80 </body> |
|
81 </html> |
|
82 |
|
83 |
|
84 <script> |
|
85 YUI.Env.Tests = { |
|
86 examples: [], |
|
87 project: '../assets', |
|
88 assets: '../assets/cssreset', |
|
89 name: 'cssreset-basic', |
|
90 title: 'CSS Reset Page Example', |
|
91 newWindow: '', |
|
92 auto: false |
|
93 }; |
|
94 YUI.Env.Tests.examples.push('cssreset-basic'); |
|
95 YUI.Env.Tests.examples.push('cssreset-context'); |
|
96 |
|
97 </script> |
|
98 <script src="../assets/yui/test-runner.js"></script> |
|
99 |
|
100 |