How to Change a Webpage Text Font and Color Using CSS
How to Change a Webpage Text Font and Color Using CSS
Do you want to use the newest technology to style your web pages? Here's how!
Steps

Understand how css works with HTML. For example: TextAlmost any HTML tag can include "style," such as p or divWhat goes in between the quotes is the CSS part.

To change text font, use css' font-familyFor example: Text will cause "Text" to use the Times font.

To set an order of preference, in case a particular font is not on a person's computer, use commas to separate font names. For example: Text will cause "Text" to use the Times font. If times is not available, Georgia will be used. If neither Times nor Georgia are available, a generic serif font will be used.

To set text color, use css' fontFor example: Text will cause "Text" to be red. You can use any valid HTML color name in the place of "red." You can also use a hex code. For example: Text will cause "Text" to be white.

What's your reaction?

Comments

https://chuka-chuka.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!