Create a Website
HTML
Dreamweaver
CSS Tutorial
JavaScript
FREE Hosting!
With every domain name
you register at DotEasy
you get FREE (no-ad)
one year hosting.
PLUS you get:
  • FREE Website Builder
  • FREE Blog
  • FREE Forum
  • FREE Photo Album
  • FREE Email Accounts
Get your FREE hosting today!
Home > JavaScript Tutorial
$0 Web Hosting

Color

You can set the color of text with the following:

The Code

color: value;

Possible values are:

Letter Spacing

You can adjust the space between letters with the following:

The Code

letter-spacing: value;

Possible values are:

For example,

The Code

letter-spacing: 5px;

Text Align

You can align text with the following:

The Code

text-align: value;

Possible values are:

For example:

The Code

text-align: center;

Text Decoration

You can decorate text with the following:

The Code

text-decoration: value;

Possible values are:

For example,

The Code

text-decoration: underline;

Text Indent

You can indent the first line of text with the following:

The Code

text-indent: value;

Possible values are:

For example,

The Code

text-indent: 10px;

Text Transform

You can control the size of letters using the following:

The Code

text-transform: value;

Possible values are:

Enjoy this tutorial?

1. Link to this page(copy/paste into your own website or blog):
2. Add this page to your favorite social bookmarks sites:
3. Add this page as your favorites. (Press Ctrl+D)