AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL

HTML Font Color


HTML Tutorial » HTML Font Color

The font tag is having three attributes called size, color, and face to customize your fonts.
To change any of the font attributes at any time within your webpage, simply use the <font> tag.
The text that follows will remain changed until you close with the <font> tag.
You can change one or all of the font attributes within one <font> tag.

Syntax:
<font color="color_name or hex_number or rgb_number">


Attribute Values
color_name (like "red")
hex_number (like "#ff0000")
rgb_number (like "rgb(255,0,0)")

Note: The color attribute of <font> is not supported in HTML5. Use CSS instead.

HTML font color - examples



Example: Specify the color of text:
Example 1 My first HTML page:

<!DOCTYPE html>
<html>
<head>
<title>HTML Font Color</title>
</head>
<body>

<h1>Tis is an example of HTML Font Color</h1>
<font color="red">Nere is my text! with font color color_name useing: color="red" </font> <br />
<font color="#0099FF">Nere is my text! with font color hex_number useing: color="#0099FF" </font> <br />
<font color="rgb(30, 45, 12))">Nere is my text! with font color rgb_number useing: color="rgb(30, 45, 12))" </font><br />

</body>
</html>
Note: The color attribute of <font> is not supported in HTML5. Use CSS instead.


html font color
HTML Font Color - html tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


HTML Img Background
HTML Image Link
HTML Image Size
HTML Text Style
HTML Text Align
HTML Text Size
HTML Text Color Style
HTML Text Color
HTML Table Color
HTML Table Row Colspan
HTML Table Width
HTML Table Style
HTML Table Border
HTML Table
HTML Font Face
HTML Font Size
HTML Font Color
HTML Headings
HTML div border color
HTML div class
HTML class container
HTML form action
HTML comment
HTML link new tab
HTML link underline
HTML link tag
HTML button action
HTML button onclick
HTML button link
HTML table style
HTML image
HTML colors
HTML div style
Text, paragraf in HTML
HTML Tags Attributes
HTML - Elements
HTML Introduction
Home HTML Tutorial
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.