📜  html em vs i - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:30.075000             🧑  作者: Mango

代码示例1
i has the purpose of presenting something in italicised style.
em has the purpose of giving emphasis to the content.

In practice emphasised content is typically displayed italicised,
so the difference on the face of it is non-existing from a
presentation standpoint. However, emphasis is semantic while
italics is presentation.