HTML高亮标签<mark></mark>/highlight/黄色

合理的内容,用合理的标签
更新于: 2024-03-14 15:39:31

代码

如图
<p align="center">若非<mark>群玉</mark>山头见</p>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML高亮标签<mark></mark></title>
</head>
 
<body>
    <h1 align="center">
        清平乐<sub>李白™</sub>
    </h1>
    <hr color="red" />
    <p align="center">云想<em>衣裳</em>花想容,</p>
    <p align="center">春风拂槛<strong>露华浓</strong>;</p>
    <p align="center">若非<mark>群玉</mark>山头见,</p>
    <p align="center">会向瑶台月下逢。</p>
 
</body>
</html>

参考