-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtable.html
More file actions
182 lines (179 loc) · 5.55 KB
/
Copy pathtable.html
File metadata and controls
182 lines (179 loc) · 5.55 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Table & Form</title>
</head>
<body>
<p><a id="table" href="table"></a></p>
<a href="#task">Go to task</a>
<h1>1. Table</h1>
<table border="1" width="40%">
<caption><strong>Price of Fruit</strong></caption>
<thead>
<tr>
<th>Fruits</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>Apple</td>
<td>$0.25</td>
</tr>
<tr>
<td>Orange</td>
<td>$0.50</td>
</tr>
<tr>
<td>Banana</td>
<td>$1.00</td>
</tr>
<tr>
<td>Pineapple</td>
<td>$2.00</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Total</th>
<th>$3.75</th>
</tr>
</tfoot>
</table>
<h1>2. Table</h1>
<table border="1" width="40%">
<caption>More Complex Table</caption>
<colgroup>
<col align="right" span="1" />
</colgroup>
<thead>
<tr>
<th rowspan="2">
<img src="OIP.jfif" widht="205" height="167" alt="Camel">
</th>
<th colspan="4" valign="top">
<h1>Camelid comparison</h1><br />
<p>Approximate as of 8/99</p>
</th>
</tr>
<tr valign="bottom">
<th># of Humps</th>
<th>Indigenous region</th>
<th>Spits?</th>
<th>Produces Wool?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Camels (bactrian)</th>
<td>2</td>
<td>Africa/Asia</td>
<td rowspan="2">Llama</td>
<td rowspan="2">Llama</td>
</tr>
<tr>
<td>Llamas</td>
<td>1</td>
<td>Andes Mountain</td>
</tr>
</tbody>
</table>
<h1>Forms</h1>
<form>
<p>
<input type = "hidden" name = "recipient"
value = "deitel@deitel.com" />
<input type = "hidden" name = "subject"
value = "Feedback Form" />
<input type = "hidden" name = "redirect"
value = "main.html" />
</p>
<p>
<label>Name:
<input name = "name" type = "text" size = "25"
maxlength = "30" />
</label>
</p>
<p><label>Comments:<br />
<textarea name = "comments" rows = "4" cols = "36" placeholder="Enter your comments here."></textarea>
</label></p>
<p>
<strong>Things you liked:</strong><br />
<label>Site design
<input name = "thingsliked" type = "checkbox"
value = "Design" /></label>
<label>Links
<input name = "thingsliked" type = "checkbox"
value = "Links" /></label>
<label>Ease of use
<input name = "thingsliked" type = "checkbox"
value = "Ease" /></label>
<label>Images
<input name = "thingsliked" type = "checkbox" value="Images"></label>
<label>Source Code
<input name = "thingsliked" type = "checkbox" value="Code"></label>
</p>
<p>Where did you know me<br/>
<label>Website<input type="radio"></label>
<label>LinkedIn<input type="radio"></label>
<label>Friends<input type="radio"></label>
<label>Others<input type="radio"></label>
</p>
<p>Rate
<select>
<option selected="selected">Amazing</option>
<option>1</option>
<option>Awful</option>
</select>
</p>
<p>
<input type = "submit" value =
"Submit Your Entries" />
<input type = "reset" value =
"Clear Your Entries" />
</p>
</form>
<p><a id="task"></a></p>
<h1>Task</h1>
<table border="1" width="40%">
<thead>
<tr>
<th>Time</th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
<th>Saturday</th>
<th>Sunday</th>
</tr>
</thead>
<tbody style="text-align: center;">
<tr>
<td>Morning</td>
<td>Exercise</td>
<td rowspan="2">Study</td>
<td rowspan="3">Study</td>
<td colspan="2">Exercise</td>
<td colspan="2" rowspan="3">Take A Rest</td>
</tr>
<tr>
<td>Afternoon</td>
<td>Study</td>
<td>Study</td>
<td rowspan="2">Study</td>
</tr>
<tr>
<td>Evening</td>
<td>Sleeping</td>
<td>Sleeping</td>
<td>Sleeping</td>
</tr>
</tbody>
</table>
<a href="#table">Return to the table</a>
</body>
</html>