其他常用标签
<b></b> 加粗
<u></u> 下划线
<i></i> 斜体
<s></s> 删除线
<pre></pre> 原样输出
<sub></sub> 下标
<sup></sup> 上标
<p></p> 段落标签
<div></div> 自动换行
<span></span> 一行显示
代码:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
</head>
<body>
<b>中国</b>
<u>社会</u>
<i>主义</i>
<s>牛逼</s>
<hr/>
<pre>
public static void main(String[] ags)
{
System.out.println("hello");
}
</pre>
<hr/>
3<sub>100</sub>
<br/><br/>
4<sup>200</sup>
<hr/>
<div>这是div1</div>
<div>这是div2</div>
<div>这是div3</div>
<hr/>
<span>这是span1</span>
<span>这是span2</span>
<span>这是span3</span>
<hr/>
</body>
</html>
效果: