随笔-8  评论-0  文章-0  trackbacks-0

Text Color Codes

In order to change text colors, you will need two things:

1. A command to change the text.
2. A color (hex) code.


Changing Full-Page Text ColorsYou have the ability to change full-page text colors over four levels:

<TEXT="######"> -- This denotes the full-page text color.

<LINK="######"> -- This denotes the color of the links on your page.

<ALINK="######"> -- This denotes the color the link will flash when clicked upon.

<VLINK="######"> -- This denotes the colors of the links after they have been visited.

These commands come right after the <TITLE> commands. Again, in that position they affect everything on the page. Also... place them all together inside the same command along with any background commands. Something like this:

< BODY BGCOLOR="######" TEXT="######" LINK="######" VLINK="######">

Please note: When you write these codes, you can write them with a # sign in front of the hex code or not. It used to be that that was required, but not any more. I still use it just because I started that way. You may want to just go with the six-digit code. Also make sure to place a space between each command and be sure to enclose it in quotation marks, like so:

<VLINK="#FFFFFF">

问题:
  上面的那几个东西还没有搞懂.不知道什么用?


Changing Specific Word ColorBut I only want to change one word's color!

You'll use a color (hex) code to do the trick. Follow this formula:

<FONT COLOR="######">text text text text text</FONT>

It's a pain in the you-know-where, but it gets the job done. It works with all H commands and text size commands. Basically, if it's text, it will work.


posted on 2005-08-10 20:48 hegen 阅读(316) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: