
加粗的部分是图片调整为中上的代码,全部代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<table border="1" cellspacing="0" width="300" height="300">
<tr>
<td width="150"></td>
<td valign="top" align="center"><img src="./1.png"></td>
</tr>
<tr>
<td height="150"></td>
<td></td>
</tr>
</table>
</body>
</html>
效果如下(看看是不是你要的那种效果):
HTML中上标、下标使用<sup></sup>标记
我们通常用于「呼吸作用[1]」和幂的指数「an」,如例
| <p>Calculate: 8<sup>3</sup> ÷ 8<sup>2</sup></p>| <p>Cellular respiration<sup>[1]</sup> is very important to all living things.</p>
设置css样式:text-decoration: underline 下划线
text-decoration: line-through 删除线
text-decoration: overline 上划线
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)