-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
247 lines (211 loc) · 7.2 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tomoayan's css normalization snippet</title>
<link rel="stylesheet" href="./base.css">
<style>
/* minimal styles to improve visibility */
body {
font-family: Arial, sans-serif;
padding: 1rem;
}
section,
header {
margin-bottom: 5rem;
}
dl,
figure,
video,
audio {
margin-bottom: .7rem;
}
/* Note Styling */
.note {
background-color: hsla(50, 100%, 50%, 0.25);
padding: 1rem;
border-radius: .4rem;
margin-bottom: 2rem;
}
.note ul {
padding-left: 1rem;
}
@media (prefers-color-scheme: dark) {
.note {
background-color: hsla(60, 100%, 50%, .25);
}
}
</style>
</head>
<body>
<div class="note">
<p><b>Added few styling to improve the visibility (only in this page)</b></p>
<ul>
<li><code>body {
font-family: Arial, sans-serif;
padding: 1rem;
}</code></li>
<li><code>section,
header {
margin-bottom: 5rem;
}</code></li>
<li><code>dl,
figure,
video,
audio {
margin-bottom: .7rem;
}</code></li>
</ul>
</div>
<header>
<h3><em>Header</em> with a <em>Nav</em> and link <em>List</em></h3>
<nav>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h1>Heading 1 (h1)</h1>
<h2>Heading 2 (h2)</h2>
<h3>Heading 3 (h3)</h3>
<h4>Heading 4 (h4)</h4>
<h5>Heading 5 (h5)</h5>
<h6>Heading 6 (h6)</h6>
</section>
<section>
<h2>Texts</h2>
<p>This is a Paragraph.
<br>
<strong>This is a Strong (strong) text. (Good for SEO)</strong>
<br>
<b>This is a Bold (b) text.</b>
<br>
<em>This is a Emphasize (em) text. (Good for SEO)</em>
<br>
<i>This is an Italics (i) text.</i>
<br>
this is a <mark>mark</mark> text.
<br>
this is a <sub>sub</sub> text.
<br>
this is a <sup>sup</sup> text.
<blockquote>This is a blockquote.</blockquote>
<pre>This is preformatted text.</pre>
<code>
<p>This is inline code.</p>
</code>
<p>This is an <abbr title="The <abbr> tag defines an abbreviation.">abbr</abbr>.</p>
<dl>
<dt>Definition Term</dt>
<dd>Definition description goes here.</dd>
</dl>
<address>This is an address element. (never heard of it)</address>
</section>
<section>
<h2>Lists</h2>
<ul>
<li>Unordered list item</li>
<li>Another unordered list item</li>
</ul>
<ol>
<li>Ordered list item</li>
<li>Another ordered list item</li>
</ol>
<menu>
<li>menu: Unordered list item</li>
<li>menu: Another unordered list item</li>
</menu>
<details>
<summary>Details element with summary (toggle it)</summary>
This is some hidden content inside the details element.
</details>
</section>
<section>
<h2>Tables</h2>
<table border="1">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1, Col 1</td>
<td>Row 1, Col 2</td>
</tr>
<tr>
<td>Row 2, Col 1</td>
<td>Row 2, Col 2</td>
</tr>
</tbody>
</table>
</section>
<section>
<h2>Forms</h2>
<form action="#">
<label for="text-input">Text Input:</label>
<input type="text" id="text-input" placeholder="Enter text here">
<label for="password-input">Password Input:</label>
<input type="password" id="password-input">
<label for="checkbox-input">Checkbox Input:</label>
<input type="checkbox" id="checkbox-input">
<label for="radio-input">Radio Button:</label>
<input type="radio" id="radio-input" name="example">
<label for="select-input">Select Dropdown:</label>
<select id="select-input">
<option>Option 1</option>
<option>Option 2</option>
<optgroup label="group name">
<option>Option 1</option>
<option>Option 2</option>
</optgroup>
</select>
<label for="textarea-input">Textarea:</label>
<textarea id="textarea-input" rows="4"></textarea>
<button type="submit">Submit Button</button>
</form>
</section>
<section>
<h2>Media & iframe</h2>
<figure>
<img src="/megumin_loves_explosion" alt="[korigengi] Megumin Konosuba from deviantart">
<figcaption>This is a figure with an image and a figcaption.</figcaption>
</figure>
<video controls>
<source
src="//upload.wikimedia.org/wikipedia/commons/transcoded/3/36/Amelia_-cat_purrs_and_kneads.webm/Amelia_-cat_purrs_and_kneads.webm.480p.vp9.webm"
type="video/webm">
Your browser does not support the video tag.
</video>
<audio controls>
<source src="//upload.wikimedia.org/wikipedia/commons/d/d4/Beethoven_Moonlight_3rd_movement.ogg"
type="audio/ogg">
Your browser does not support the audio element.
</audio>
<iframe src="//example.com" width="300" height="200"></iframe>
</section>
<section>
<article>
article
</article>
<aside>
aside
</aside>
</section>
<section>
<dialog open>This is an open dialog window</dialog>
</section>
<!-- <progress value="50" max="100">50%</progress>
<meter value="0.6">60%</meter> -->
</main>
<footer>
<p>This is the footer.</p>
</footer>
</body>
</html>