通过将文字包含在标签<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>

  

相关文章:

  • 2021-12-05
  • 2022-01-07
  • 2021-11-20
  • 2021-09-20
  • 2021-09-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2021-11-17
  • 2021-10-17
  • 2022-12-23
  • 2021-11-12
相关资源
相似解决方案