Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

CSS - Links

Googleplus Pint
#1
This tutorial will teach you how to set different properties of a hyper link using CSS. You can set following properties of a hyper link:

We will revisit same properties when we will discuss Pseudo-Classes of CSS.

The :link Signifies unvisited hyperlinks.

The :visited Signifies visited hyperlinks.

The :hover Signifies an element that currently has the user's mouse pointer hovering over it.

The :active Signifies an element on which the user is currently clicking.

Usually these all properties are kept in the header part of HTML document.
Hasan
Reply
#2
<style>
a:link {color: #000000}
a:visited {color: #006600}
a:hover {color: #FFCC00}
a:active {color: #FF00CC}
</style>
Hasan
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS white-space Property Hasan 0 1,651 07-04-2018, 03:29 AM
Last Post: Hasan
  CSS - Tables Hasan 2 1,940 06-28-2018, 09:55 AM
Last Post: Hasan
  CSS - Images Hasan 3 2,440 06-28-2018, 09:37 AM
Last Post: Hasan
  css text effect Hasan 9 2,639 06-28-2018, 09:34 AM
Last Post: Hasan
  Setting Fonts using CSS Hasan 7 2,483 06-28-2018, 09:30 AM
Last Post: Hasan
  Setting Backgrounds using CSS Hasan 1 1,541 06-28-2018, 03:31 AM
Last Post: Hasan
  CSS - Colors Hasan 0 1,651 06-28-2018, 03:23 AM
Last Post: Hasan
  CSS Syntax - Selectors Hasan 0 1,449 06-28-2018, 03:20 AM
Last Post: Hasan
  CSS Introduction Hasan 0 1,435 06-28-2018, 03:19 AM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 1 Guest(s)