Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CSS - Links
#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.

Hello World!:

- tes
- Hello Friends . Welcome Back
Hasan
Reply
#2
<style>
a:link {color: #000000}
a:visited {color: #006600}
a:hover {color: #FFCC00}
a:active {color: #FF00CC}
</style>

Hello World!:

- tes
- Hello Friends . Welcome Back
Hasan
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS white-space Property Hasan 0 1,319 07-04-2018, 03:29 AM
Last Post: Hasan
  CSS - Tables Hasan 2 1,547 06-28-2018, 09:55 AM
Last Post: Hasan
  CSS - Images Hasan 3 1,962 06-28-2018, 09:37 AM
Last Post: Hasan
  css text effect Hasan 9 1,566 06-28-2018, 09:34 AM
Last Post: Hasan
  Setting Fonts using CSS Hasan 7 1,653 06-28-2018, 09:30 AM
Last Post: Hasan
  Setting Backgrounds using CSS Hasan 1 1,225 06-28-2018, 03:31 AM
Last Post: Hasan
  CSS - Colors Hasan 0 1,440 06-28-2018, 03:23 AM
Last Post: Hasan
  CSS Syntax - Selectors Hasan 0 1,224 06-28-2018, 03:20 AM
Last Post: Hasan
  CSS Introduction Hasan 0 1,219 06-28-2018, 03:19 AM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 1 Guest(s)