— 中划线标签为双标签<strike></strike>,多用于删除效果。
在D:web目录下创建网页文件,命名为other.htm,编写代码如代码4.14所示。
代码4.14 其他修饰标签的设置:other.htm
<html>
<head>
<title>其他修饰标签的设置</title>
</head>
<body>
<font size="5">
沁园春<sup>长沙</sup>!<br />
数学指数的表示:2<sup>3</sup>=8、100<sup>2</sup>=10000<br /><hr />
沁园春<sub>长沙</sub>!<br />
数学底数的表示:log<sub>3</sub>81=4、log<sub>5</sub>125=3<br /><hr />
删除效果:<strike>我被删除了</strike>
</font>
</body>
</html>
在浏览器地址栏输入http://localhost/other.htm,浏览效果如图4.14所示。

图4.14 其他修饰标签的设置









