html 颜色

代码实例:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>颜色的使用</title>
</head>
<body>
<p style="background-color:#FFFF00">通过设置十六进制来设置背景颜色</p>
<p style="background-color:rgb(255,255,0)">通过使用rgb来设置背景颜色</p>
<p style="background-color: aqua">通过颜色名称来设置背景颜色</p>
</body>
</html

 

相关文章:

  • 2021-08-06
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2021-10-31
  • 2022-12-23
  • 2021-06-30
  • 2021-09-08
相关资源
相似解决方案