Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
State of links in CSS - HTML
Home
>>
Category
>>
Programming Language (MCQ) questions
>>
HTML
Q. Which of the following is / are the state of the links in CSS?
- Published on 19 Oct 15
a.
a:link
b.
a:visited
c.
a:hover
d.
a:active
e.
All of the above.
ANSWER: All of the above.
Related Content
Networking (
207
)
Database (
97
)
C programming (
58
)
Software Engineering (
28
)
SQL (
5
)
HTML (
74
)
Web Technologies (
11
)
Data Structure (
140
)
Operating System (
96
)
Java (
25
)
Oracle (
5
)
C++ (
50
)
Algorithms (
7
)
PL/SQL (
13
)
JavaScript (
7
)
XML (
0
)
CSS (
1
)
Discussion
Nirja Shah
-Posted on 05 Nov 15
- Any CSS property can be used to style links (e.g. colour, font-family, background, etc.).
- Links can be styled differently depending on what state they are in.
- There are four links states:
1. a:link - a normal, unvisited link
2. a:visited - a link the user has visited
3. a:hover - a link when the user mouses over it
4. a:active - a link the moment it is clicked
- Some order rules are followed while setting the style for several link states:
1. a:hover MUST come after a:link and a:visited
2. a:active MUST come after a:hover
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲