Toggle
December 19, 2008 12:31 am

Here’s Another HTML Tip from Kyle….

Posted in: Web Design
By: admin

Kyle has once again brought us a great tip, this time he shows us how to assigned different colors to our links using stylesheets.

Changing the properties of links on a web page

The color of link on a web page is set using the link attribute of the tag. The default color is blue (#0000FF). That is, if you don’t supply a color value (or color name) to the link attribute, the browser makes all the links on the web page blue in color. Specifying another value, say green, to the link attribute will turn all links in the document into green color.

Two different colors for links

Only one color can be set through the link attribute. With Style Sheets, you can have links of different colors and styles in the same document.

Styles sheets can be applied to documents in three different ways. In this article, I’ll cover two ways to embed style information on a web page.

Continue Reading on Kyle`s Blog

Leave A Comment
Name (required)
Website Url (completely optional)
XHTML: feel free to use any of these tags.