/
hallo-world.html
73 lines (70 loc) · 2.3 KB
/
hallo-world.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
<!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>hello world!</title>
</head>
<body>
<!-- 锚点链接,可以定位到当前页面的某个位置 -->
<a href="#down" id="top">最下方</a>
<!-- 这里用的是相对路径 -->
<img
src="./static/images/logo.jpg"
alt="找不到该图片"
title="logo"
width="500"
/>
<h1>标题标签</h1>
<p>段落</p>
<p>标签</p>
你好<br />世界
<strong>加粗</strong>
<b>加粗</b>
<i>倾斜</i>
<s>删除线</s>
<u>下划线</u>
<div>我是一个dir标签独占一行</div>
<div>我是一个dir标签独占一行</div>
<div>我是一个dir标签独占一行</div>
<span>按行划分</span>
<span>按行划分</span>
<span>按行划分</span>
<a href="neibu.html"><img src="./static/images/logo.jpg" alt="" /></a>
<br />
<!-- 不加http则默认在本网页上路由 -->
<a href="neibu.html" target="_self">内部超链接</a>
<br />
<!-- target='外部链接打开方式' -->
<a href="https://www.baidu.com" target="_blank">外部超链接</a>
<br />
<a href="#">空链接</a>
<br />
<a href="./static/files/">文件树链接,千万不要用这个</a>
<a href="./static/files/实验.zip">下载链接</a>
<br />
<a href="neibu.html"><img src="./static/images/logo.jpg" alt="" /></a>
<br />
<a href="#top" id="down">最上方</a>
<!-- 特殊字符,家&都是特殊符号 -->
<dir>空 格</dir>
<dir>小于号<</dir>
<dir>大于号></dir>
<!-- 新标签 -->
<video src=""></video>
<audio src=""></audio>
<picture> </picture>
<canvas> </canvas>
<!-- 冻结功能 -->
<input type="text" disabled="false" value="默认冻结" />
<!-- 选择 -->
默认选中<input type="checkbox" checked="true" />
<!-- 下拉框 -->
<select name="" id="">
<option value="2">全部</option>
<option value="1" selected>选1</option>
<option value="0">都不选</option>
</select>
</body>
</html>