link to content
Essentials at NC State Home
Help | ResNet | Computing@NC State | For OIT Staff | Publications | Search NC State | Feedback
your unity account
antivirus & security
email & messaging
connections & labs
your computer
software@nc state
files
web pages
education & training
publications
other resources
troubleshooting
ITD Sections

Text and Link Color

Text color

Text color in all of the document's body is governed by the text extension to the <body> tag. It uses hexadecimal RGB values to specify text color. For example,
<body text="#8E2323">
This text is dark red.

</body>

Link color

All link colors are specified in the <body> tag. The following attributes control the color of link text.

link colors an unvisited link.
alink colors an active link (in the process of being clicked on).
vlink colors a visited link.

The default colors are:

link="blue"
alink="red"
vlink="purple"

Example:

<body bgcolor="#000000" text="#F0F0F0" link="#FFFF00" alink="#0077FF" vlink="#22AA22">

[Rest of document with custom link colors goes here.]

</body>

Here's an additional example.

 

Last modified July 20, 2004 by cawalker

jump to content
jump to content Go to page top Page Top | OIT | PolicyDisclaimer