如何使用 CSS 設定文字顏色
如需設定文字顏色,請使用 color 屬性。
示例
您可以嘗試執行以下程式碼,瞭解如何使用 CSS 中的 color 屬性
<html> <head> </head> <body> <p style = "color:blue;"> ANTARTICA is a continent </p> </body> </html>
廣告
如需設定文字顏色,請使用 color 屬性。
您可以嘗試執行以下程式碼,瞭解如何使用 CSS 中的 color 屬性
<html> <head> </head> <body> <p style = "color:blue;"> ANTARTICA is a continent </p> </body> </html>