I am a red font]."/> I am a red font].">

Home>Article>Web Front-end> How to change font color in html

How to change font color in html

coldplay.xixi
coldplay.xixi Original
2021-04-28 11:38:32 19276browse

htmlThe method to change the font color is to use the font tag to set the color of the font content. The syntax is [c0025c2938efc05b97bd9beea08ca0c4I am a red fonte6e38b3c62e8df885fe2e3986461aa63].

How to change font color in html

The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.

htmlHow to change the font color:

In HTML we use the font tag to set the color of the font content.

1. Font syntax:

我是红色字体

First of all, font is a pair of regular tags. Put the font text content into the tag. Set the color color corresponding to the color value in the font tag to set the font tag object. Internal font color.

2. Example of setting font color in html font

       font字体颜色在线实例 DIVCSS5
       
我是红色字体
你好 DIVCSS5

Related learning recommendations:html video tutorial

The above is the detailed content of How to change font color in html. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn