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

Detailed explanation of how to use the Vue license plate search component

A simple license plate input component (vue) for ...

Analysis and solution of data loss during Vue component value transfer

Preface In the previous article Two data types in...

Implementation of Nginx load balancing cluster

(1) Experimental environment youxi1 192.168.5.101...

The latest popular script Autojs source code sharing

Today I will share with you a source code contain...

MySQL case when usage example analysis

First we create the database table: CREATE TABLE ...

Details of 7 kinds of component communication in Vue3

Table of contents 1. Vue3 component communication...

MySQL 8.0.17 installation and configuration method graphic tutorial

This article shares the installation and configur...

HTML form tag tutorial (5): text field tag

<br />This tag is used to create a multi-lin...

A brief introduction to the simple use of CentOS7 firewall and open ports

Overview (official has more detailed description)...

How to receive binary file stream in Vue to realize PDF preview

Background Controller @RequestMapping("/getP...

An example of how to write a big sun weather icon in pure CSS

Effect The effect diagram is as follows Implement...

Detailed examples of Zabbix remote command execution

Table of contents one. environment two. Precautio...

How to use Lottie animation in React Native project

Lottie is an open source animation library for iO...

Let IE6, IE7, IE8 support CSS3 rounded corners and shadow styles

I want to make a page using CSS3 rounded corners ...

How to check whether a port is occupied in LINUX

I have never been able to figure out whether the ...