How to change the font color in HTML

Source: Internet
Author: User
Where does the HTML font color settings change, and what does the HTML set font color code methods have?

Today for everyone to introduce the method of setting font color in HTML, how to modify the font color, how to get the font color accurately.

First, HTML font color settings-TOP

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

1. Font syntax:

<font color= "#FF0000" > I am the red font </font>

First the font is a pair of regular labels, the font text content placed in the label, the font tag set color color + corresponding color value can set the font label object within the color.

2. html font Set Font Color instance

2-1, HTML font Color instance complete code:

<! DOCTYPE html> 

HTML font color settings where changes to the end of this, the need for friends can continue to follow the site.

Related reading:

CSS3 Implementing a Shadow effect instance


Some points to be aware of in CSS layout


CSS animation to implement the pause and play the function of the tutorial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.