


What is the color attribute of HTML font tag? Introduction to the usage of fontcolor (with color code table)
What is the color attribute of the HTML font tag? Introduction to the usage of the color attribute in font (with color code table). This article only introduces some usage of the color attribute of the HTML font tag, as well as details about the color code table of HTML.
The color attribute of the HTML tag
Specifies the color of the text:
<font color="red">This is some text!</font>
The color attribute of the HTML tag Definition and usage: The
color attribute specifies the color of the text in the font element.
##html color syntax:
www.divcss5.comThe tag directly uses the color color parameter to set the text color. The value can be directly added to the RGB color value (#FFFFFF, #000000, #F00) The RGB color value is determined during the actual layout, and you can use Photoshop ( PS for short) pick up the tool to get it.Use the color color setting in the font tag:
www.divcss5.com redhtml color summary:
1. We use color to set the color value in the font tag. 2. Generally, you can only use "color=color value" directly in the font tag to set the text color of the object text.Browser support
html The color attribute attribute value of the font tag:
color_name: Specifies the text color whose color value is the color name (such as "red") hex_number: Specifies the text color whose color value is the hexadecimal value (such as: "#ff0000") rgb_number : Specifies the text color whose color value is rgb code (such as "rgb(255,0,0)").Specifies the text font, size and color:<font size="3" color="red"> This is some text! </font> <font size="2" color="blue"> This is some text! </font> <font face="verdana" color="green"> This is some text! </font>
<h1 id="font-nbsp-face-verdana-A-nbsp-heading-font"><font face="verdana">A heading</font></h1> <p><font size="5" face="arial" color="red">A paragraph.</font></p>
- tag can define the title, defines the largest title, defines the smallest title .
Because the h element has exact semantics, please carefully choose the appropriate tag level to structure the document. Therefore, please do not use title tags to change the font size within the same line. Instead, we should use cascading style sheet definitions to achieve beautiful display effects. defines the largest title, defines the smallest title .
Mark a paragraph:
<p><font face="宋体",size="5",color="blue">this is a paragraph</font></p>
is a paragraph and requires line breaks.
HTML color code:
html5 What does the output tag mean? How to use the html5 output tag
#What is the html font tag? Detailed introduction to the attributes of the tag
The above is the detailed content of What is the color attribute of HTML font tag? Introduction to the usage of fontcolor (with color code table). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
