通过将文字包含在标签<i>和</i>之间,我们可以将这些文字显示为斜体。
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div>斜体</div>
<p>将一部分在格式上以不同与周围内容的方式显示,例如<i>技术词语、外语单词、
思想理论</i>或是其他术语经常会以<i>斜体</i>显示</p>
</body>
</html>