a {text-decoration: none}]."/> a {text-decoration: none}].">

Home  >  Article  >  Web Front-end  >  How to remove the underline of hyperlink in html

How to remove the underline of hyperlink in html

coldplay.xixi
coldplay.xixiOriginal
2021-04-27 14:44:4217698browse

htmlThe method to remove the underline of a hyperlink is to use [text-decoration: none] in CSS to remove the underline of a hyperlink. The code is [】.

How to remove the underline of hyperlink in html

The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.

htmlHow to remove the underline of a hyperlink:

You can use text-decoration:none in css to remove the underline of a hyperlink.

<html>
<head>
<style type="text/css">a {text-decoration: none}</style>
</head> 
<body><p><a href="具体连接地址">这是一个链接</a></p></body> </html>

How to remove the underline of hyperlink in html

Extended information:

HTML hyperlink (link) attributes:

Hyperlink can be a word, a word, Or a group of words, or an image that you can click to jump to a new document or a section of the current document.

When you move the mouse pointer over a link on the web page, the arrow will change into a small hand.

We create links in HTML by using the tag.

There are two ways to use the tag:

1. By using the href attribute - creating a link to another document;

2. By using name Properties - Create bookmarks within the document.

Related learning recommendations: html video tutorial

The above is the detailed content of How to remove the underline of hyperlink in html. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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