I am a red font]."> How to change font color in html-HTML Tutorial-php.cn

How to change font color in html

coldplay.xixi
Release: 2021-04-28 11:38:32
Original
19281 people have browsed it

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

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:

我是红色字体
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!