Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.
How to change font size and color in HTML
It really should be done if it has to be inline using styles like
This is only an example, please read about using styles to get a deeper grasp on using them properly.
That would be the more "compliant" way
But the most clean and "proper" way would be in your CSS
Code:
<p style="font-family:arial;color:red;font-size:20px;"></p>
That would be the more "compliant" way

But the most clean and "proper" way would be in your CSS

You can also use <span> tag to achieve the same results
Code:
<span style="color:blue; size:14px; font:Arial, Helvetica, sans-serif;">Hello World</span>

With CSS you have more control over font
Code:
.HelloWorld {
font-size: 10px;
color: red;
}
HTML allows you to change the color of various elements of your website by using special tags. These tags will tell the browser what color to display that element in, and can help spice up that boring black-and-white page. Color tags are easy to use, and learning the basics will only take a few minutes.
Specify the font size, font face and color of text:
<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>
Specify the font size, font face and color of text:
<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>
Similar Topics:
- HTML Website
- How do I change my website host?
- Wordpress or HTML Coding?
- Does website font affect SEO?
- HTML <area> Tag How To Use
- What things we don't change in Google Adwords Campaign?
- html points?
- Which html language is used to create thread on this forum.
- Html or Php
- Can you write HTML code by hand?
User(s) browsing this thread: 1 Guest(s)