-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
270 lines (253 loc) · 9.7 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!doctype html>
<head>
<meta charset="utf-8">
<title>Web App</title>
<link rel="stylesheet" type="text/css" href="c/styles.css" media="all" />
</head>
<body>
<div class="container_16">
<div id="site_title" class="grid_10">
<header>
<h1>Application Title</h1>
</header>
</div>
<div id="admin_nav" class="grid_6">
<ul class="nav strip">
<li><a href="#">Dashboard</a></li>
<li><a href="#">Account Settings</a></li>
<li><a href="#">Logout</a></li>
</ul>
</div>
<div class="clear"></div>
<div id="main_nav" class="grid_16">
<nav>
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li class="active"><a href="#">Demo Page</a></li>
<li><a href="#">Nav Item 3</a></li>
</ul>
</nav>
</div>
<div id="wrapper" class="grid_16">
<div id="content">
<section>
<h1>Page Title</h1>
</section>
<div class="xhide">
<!-- CONTENT TEST -->
<section>
<h1>CSS Basic Elements</h1>
<p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p>
</section>
<section>
<h1 id="headings">Headings</h1>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<small><a href="#wrapper">[top]</a></small>
</section>
<section>
<h1 id="paragraph">Paragraph</h1>
<img class="right" src="http://placehold.it/250x150" alt="Image Placeholder" />
<p>Lorem ipsum dolor sit amet, <a href="#" title="test link">test link</a> adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.</p>
<p>Lorem ipsum dolor sit amet, <em>emphasis</em> consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.</p>
<small><a href="#wrapper">[top]</a></small>
</section>
<section>
<h1 id="list_types">List Types</h1>
<h2>Definition List</h2>
<dl>
<dt>Definition List Title</dt>
<dd>This is a definition list division.</dd>
</dl>
<h2>Ordered List</h2>
<ol class="default">
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
<h2>Unordered List</h2>
<ul class="default">
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
<small><a href="#wrapper">[top]</a></small>
</section>
<section>
<h1 id="form_elements">Fieldsets, Legends, and Form Elements</h1>
<fieldset>
<legend>Legend</legend>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.</p>
<form>
<h2>Form Element</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui.</p>
<p><span id="form-switcher">Switch Form Layout</span></p>
<ol id="form_example" class="vert">
<li>
<label for="text_field">Text Field:</label>
<input type="text" id="text_field" />
</li>
<li>
<label for="text_area">Text Area:</label>
<textarea id="text_area"></textarea>
</li>
<li>
<label for="select_element">Select Element:</label>
<select name="select_element">
<optgroup label="Option Group 1">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</optgroup>
<optgroup label="Option Group 2">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</optgroup>
</select>
</li>
<li>
<label for="radio_buttons">Radio Buttons:</label>
<div class="option">
<input id="radio_1" type="radio" class="radio" name="radio_button" value="radio_1" />
<label for="radio_1">Radio 1</label><br>
<input id="radio_2" type="radio" class="radio" name="radio_button" value="radio_2" />
<label for="radio_2">Radio 2</label><br>
<input id="radio_3" type="radio" class="radio" name="radio_button" value="radio_3" />
<label for="radio_3">Radio 3</label>
</div>
</li>
<li>
<label for="checkboxes">Checkboxes:</label>
<div class="option">
<input id="check_1" type="checkbox" class="checkbox" name="checkboxes" value="check_1" />
<label for="check_1">Check 1</label><br/>
<input id="check_2" type="checkbox" class="checkbox" name="checkboxes" value="check_2" />
<label for="check_2">Check 2</label><br/>
<input id="check_3" type="checkbox" class="checkbox" name="checkboxes" value="check_3" />
<label for="check_3">Check 3</label><br/>
</div>
<div class="feedback">
<div class="error">This field is required</div>
</div>
</li>
<li>
<label for="password">Password:</label>
<input type="password" class="password" name="password" />
<div class="feedback">
<div class="tip"><em>Password must be at least 6 characters</em></div>
</div>
</li>
<li>
<label for="file">File Input:</label>
<input type="file" class="file" name="file" />
</li>
<li class="btn">
<input class="button" type="submit" value="Submit" /> | <a href="#">Cancel</a>
</li>
</ol>
</form>
</fieldset>
<small><a href="#wrapper">[top]</a></small>
</section>
<section>
<h1>Feedback</h1>
<div class="feedback">
<div class="note"><strong>Generic</strong> note for users</div>
</div>
<div class="feedback">
<div class="tip"><strong>Tip</strong> for your users</div>
</div>
<div class="feedback">
<div class="error"><strong>Error!</strong> Set them users straight!</div>
</div>
<div class="feedback">
<div class="info"><strong>Helpful</strong> info to help users along</div>
</div>
</section>
<section>
<h1 id="tables">Tables</h1>
<table class="datatable">
<thead>
<tr>
<th>Table Header 1</th><th>Table Header 2</th><th>Table Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Division 1</td>
<td>Division 2</td>
<td>Division 3</td>
</tr>
<tr class="alt">
<td>Division 1</td>
<td>Division 2</td>
<td>Division 3</td>
</tr>
<tr>
<td>Division 1</td>
<td>Division 2</td>
<td>Division 3</td>
</tr>
</tbody>
</table>
<small><a href="#wrapper">[top]</a></small>
</section>
<section>
<h1 id="misc">Misc Stuff - abbr, acronym, pre, code, sub, sup, etc.</h1>
<p>
Lorem <sup>superscript</sup> dolor <sub>subscript</sub> amet, consectetuer adipiscing elit. Nullam dignissim convallis est.
Quisque aliquam. <cite>cite</cite>. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt
nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam
eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy.
<acronym title="National Basketball Association">NBA</acronym> Mauris a ante. Suspendisse quam sem, consequat at, commodo
vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. <abbr title="Avenue">AVE</abbr>
</p>
<pre><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla.</p></pre>
<blockquote>
"This project is going to rock my socks." <br />-Blockquote
</blockquote>
<small><a href="#wrapper">[top]</a></small>
</section>
<!-- /CONTENT TEST -->
</div><!-- /hide -->
</div><!-- /#content -->
</div><!-- /#wrapper .grid_16 -->
<div class="clear"></div>
<footer>
<div class="grid_6">
<div id="copyright">
© <span id="year"></span> Your Neighborhood Developer
</div>
</div>
<div class="grid_10">
<ul class="nav strip">
<li><a href="index.html">Home</a></li>
<li class="active"><a href="demo.html">Demo Page</a></li>
<li><a href="#">Nav Item 3</a></li>
</ul>
</div>
</footer>
</div><!-- /.container_16 -->
<script type="text/javascript">
//Get current year and write copywrite date
var d = new Date();
var year=document.getElementById("year");
year.innerHTML = d.getFullYear();
//Switch Form Class
document.getElementById('form-switcher').onclick = function() {
var frm = document.getElementById("form_example");
var style = frm.getAttribute("class");
if (style == "vert") {
frm.setAttribute("class", "horiz");
} else if (style == "horiz") {
frm.setAttribute("class", "vert");
};
};
</script>
</body>
</html>