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

Home  >  Article  >  Web Front-end  >  How to remove underline from html hyperlink

How to remove underline from html hyperlink

藏色散人
藏色散人Original
2020-03-03 09:51:2711926browse

How to remove underline from html hyperlink

#How to remove the underline from html hyperlinks?

You can use css text-decoration:none to cancel the connected underline

Recommended: "html tutorial"

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

How to remove underline from html hyperlink

Extended information:

Hypertext markup language is an application under the standard universal markup language. It is also a specification and a standard. It uses markup symbols to mark the web pages to be displayed. various parts of. The web page file itself is a text file. By adding tags to the text file, you can tell the browser how to display the content (such as how to process text, how to arrange pictures, how to display pictures, etc.).

The browser reads the web page files in order, and then interprets and displays the marked content according to the tags. The error will not be pointed out for the wrongly written tags, and the interpretation and execution process will not be stopped. The compiler can only pass Display the effect to analyze the cause and location of the error. However, it should be noted that different browsers may have different interpretations of the same tag, and thus may have different display effects.

For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!

The above is the detailed content of How to remove underline from html hyperlink. 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
Previous article:The function of span tagNext article:The function of span tag