Home > Web Front-end > HTML Tutorial > How to delete the style generated after the link is clicked

How to delete the style generated after the link is clicked

php中世界最好的语言
Release: 2017-12-16 10:32:15
Original
2276 people have browsed it

We know that after being clicked in the link anchor text, a default dotted box will be generated, which is not beautiful, so how to delete the pictureor text link of the anchor text? What about dashed boxes? Today I will teach you a method.

Hyperlink generated after being clickedDotted box

1. Use CSS solution, CSS code:

a {blr:expression(this .onFocus=this.blur())}

Usage:

Just copy the above code into your CSS file.

2. Add the attribute code directly to the hyperlink tag as follows:

css

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

Related reading:

Answers to questions about camel case naming and JS

Boolean values, relational operators in JS, Detailed explanation and examples of logical operators

Summary of the front-end js framework and explanation of its uses


The above is the detailed content of How to delete the style generated after the link is clicked. 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template