How to operate the default style of a tag

php中世界最好的语言
Release: 2018-02-06 09:51:12
Original
5125 people have browsed it

This time I will show you how to operate the default style of the a tag, and what are theprecautions for operating the default style of the a tag. The following is a practical case, let's take a look.

The code is as follows:

a:link { font-size: 12px; color: #000000; text-decoration: none; } a:visited { font-size: 12px; color: #000000; text-decoration: none; } a:hover { font-size: 12px; color: #999999; text-decoration: underline; }
Copy after login

You can implement your function by defining the style sheet in this way. If you don’t know the style sheet, you can add the following code to your page< ;/head> In the tag:


Copy after login

I believe you have mastered the method after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!

Related reading:

How to realize the size of mobile adaptive web pages

How to use the title attribute of HTML

How to convert textarea text into html that is carriage return and line feed

The above is the detailed content of How to operate the default style of a tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!