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