HTML hyperlink style (four different states) setting example

HTML hyperlink style (four different states) setting example

Copy code
The code is as follows:

<style type="text/css">
<!-- Hyperlink text font settings -->
A {
FONT-SIZE: 16px; FONT-FAMILY: Songti
}
<!-- Font settings for the text the hyperlink is connecting to -->
A:link {
COLOR: #0055bb; TEXT-DECORATION: none
}
<!-- Hyperlink visited text font settings -->
A: visited
COLOR: #0077bb; TEXT-DECORATION: none
}
<!-- Hyperlink mouse hover text font settings -->
A:hover {
COLOR: #ff0000; TEXT-DECORATION: none
}
</style>

<<:  Analysis of JavaScript's event loop mechanism

>>:  Display mode of elements in CSS

Recommend

Introduction to commonly used MySQL commands in Linux environment

Enter the mysql command: mysql -u+(user name) -p+...

Analysis of the principles and usage of Docker container data volumes

What is a container data volume If the data is in...

MySQL single table query example detailed explanation

1. Prepare data The following operations will be ...

Some tips for writing high-performance HTML applications

How can you improve web page performance? Most de...

Vue two fields joint verification to achieve the password modification function

Table of contents 1. Introduction 2. Solution Imp...

About the problem of running git programs in jenkins deployed by docker

1. First, an error message is reported when assoc...

In-depth explanation of nginx location priority

location expression type ~ indicates to perform a...

Nginx implements dynamic and static separation example explanation

In order to speed up the parsing of the website, ...

Ubuntu installs multiple versions of CUDA and switches at any time

I will not introduce what CUDA is, but will direc...

Detailed process of Vue front-end packaging

Table of contents 1. Add packaging command 2. Run...

MySQL query optimization: a table optimization solution for 1 million data

1. Query speed of two query engines (myIsam engin...

Vue uses rules to implement form field validation

There are many ways to write and validate form fi...