-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml-basic.html
More file actions
197 lines (194 loc) · 5.1 KB
/
html-basic.html
File metadata and controls
197 lines (194 loc) · 5.1 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>lorem</h1>
<h2>Lorem,ipsum</h2>
<h3>Lorem,ipsum,dolor</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam porro adipisci
unde optio sit maxime nihil mollitia consequuntur, enim dolorem explicabo accusantium?
Optio nulla atque, ducimus illo aliquam a vitae?
</p>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusamus voluptate nihil
dignissimos! Totam, quae. Laudantium impedit vel officia harum debitis ullam reiciendis,
itaque ducimus fugiat dolorem quis. Explicabo, non eum.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Qui, quasi?
</p>
<a href="https://www.jd.com/" target="_blank">在新窗口打开京东</a>
<a href="mailto:xxxxx@qq.com">点我发邮件</a>
<a href="#dibu">跳到页面底部</a>
<a href="aaaa" download="bbbb">点我下载文件</a>
<br>
<img alt width="200" height="200" src="https://drscdn.500px.org/photo/229389427/m%3D1170/v2?user_id=7012987&webp=true&sig=196fa0c161aa562478d08571764872f7d69a346c3c0b2e12aa00e2c6414eb28b">
<hr>
<hr>
<marquee behavior="" direction="left">piao</marquee>
<p><em>这几种强调</em> <strong>有什么 区别?</strong><u>这个?</u> <em>这个?</em></p>
<p><!-- 这段注释需要出现在页面里 --></p>
<pre>
<code>
function a() {
return 8
}
</code>
</pre>
<hr>
<ul>
<li>
小学
<ol>
<li>
一年级
<ol>
<li>上学期</li>
<li>下学期</li>
</ol>
</li>
<li>二年级</li>
<li>三年级</li>
</ol>
</li>
<li>中学</li>
<li>大学</li>
</ul>
<hr>
<dl>
<dt>班级</dt>
<dd>三年二班</dd>
<dt>老师</dt>
<dd>张老师</dd>
<dd>李老师</dd>
<dd>王老师</dd>
<dt>学生</dt>
<dd>小明</dd>
<dd>豆豆</dd>
</dl>
<hr>
<h2>Google搜索</h2>
<form action="https://www.google.com.hk/search" target="_blank">
<input name="q" type="text">
<button type="submit">在新窗口打开搜索结果</button>
</form>
<hr>
<form action>
<p>个人信息调查表</p>
<dl>
<dt>性别</dt>
<dd>
<label>
<input name="gender" type="radio" value="male"> 男
</label>
<label>
<input name="gender" type="radio" value="female"> 女
</label>
</dd>
<dt>年龄</dt>
<dd>
<select name="age">
<optgroup label="少年">
<option selected hidden>请选择</option>
<option value="1-6">1到6岁</option>
<option value="6-12">6到12岁</option>
</optgroup>
<optgroup label="青年">
<option value="13-15">13到15岁</option>
<option value="16-18">16到18岁</option>
</optgroup>
<optgroup label="少年">
<option value="1-6">1到6岁</option>
<option value="6-12">6到12岁</option>
</optgroup>
</select>
</dd>
<dt>生日</dt>
<dd>
<input type="date" value="2021-11-04" name="birthday">
</dd>
<dt>生辰</dt>
<dd>
<input type="time" name="birthtime">
</dd>
<dt>照片</dt>
<dd>
<input hidden type="file" name="avatar" id="avatar-upload">
<label for="avatar-upload">点我上传照片,我比文件上传按钮好看</label>
</dd>
<dt>自我介绍</dt>
<dd>
<textarea name="intro" rows="10" cols="30"></textarea></textarea>
</dd>
</dl>
<fieldset disabled>
<legend>这里全部禁用了</legend>
<input type="text">
<input type="text">
<input type="text">
<input type="text">
</fieldset>
<input type="submit">
<input type="reset">
</form>
<hr>
<table border="1">
<colgroup>
<col>
<col bgcolor="red">
</colgroup>
<thead>
<tr>
<th>编号</th>
<th>品名</th>
<th>进价</th>
<th>出价</th>
</tr>
</thead>
<tbody>
<tr>
<th>aaa</th>
<td>a</td>
<td rowspan="2">a</td>
<td>a</td>
</tr>
<tr>
<th>a</th>
<td>a</td>
<td>a</td>
</tr>
<tr>
<th>a</th>
<td>a</td>
<td>a</td>
<td>a</td>
</tr>
<tr>
<th>a</th>
<td>a</td>
<td>a</td>
<td>a</td>
</tr>
</tbody>
</table>
<hr><br><hr>
<a href="https://www.mi.com" target="frame">小米</a>
<div>
<iframe src="https://nodejs.org/en" frameborder="1" name="frame"></iframe>
</div>
<div>
aaa bbbbb
</div>
<pre>
aaa bbbbb
</pre>
>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<
<span></span>
<div id="dibu"></div>
</body>
</html>