符号实体
<html>
<head>
<title>符号实体</title>
</head>
<body>
版权符号:<font size="7">©</font><br>
空格: 4个空格(全角的空格也可以)
</body>
</html>
超链接
完整的url地址:协议://主机:端口/web应用/资源文件
<html>
<head>
<title>超链接</title>
</head>
<body>
<a href="hello.html">返回hello.html</a><br/>
<img src="bdlogo.gif"wide="200px"border="1px"/><!--连接到外网,需要写完整的url(统一资源定位器)地址-->
</body>
</html>
表格
<html>
<head>
<title>表格</title>
</head>
<body>
<table border="1"width=“50%”><!--显示数据或者布局(少用来布局)-->
<tr><!--tr表示一行-->
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
</body>
</html>
以上的元素的属性值可以在
w3cschool中查找
上标与下标
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>上标与下标</title>
</head>
<body>
<p>6的三次方:6<sup>3</sup></p>
<p>水的化学方程式:H<sub>2</sub>O</p>
</body>
</html>