This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12349|Reply: 0

[HTML/HTML5] How do I remove the underscore of a hyperlink in html?

[Copy link]
Posted on 10/30/2014 4:04:27 PM | | |
  1. “页面属性”——“链接”——“下划线样式”——“始终无下划线”
  2. 完整CSS
  3. <style type="text/css">
  4. <!--
  5. a:link {
  6. text-decoration: none;
  7. }
  8. a:visited {
  9. text-decoration: none;
  10. }
  11. a:hover {
  12. text-decoration: none;
  13. }
  14. a:active {
  15. text-decoration: none;
  16. }
  17. -->
  18. </style>
Copy code


Can be set to "Never show underscore"
Or add code:
Copy the following code <head>to the page</head>:
  1. <style>
  2. A {text-decoration: NONE}
  3. </style>
Copy code





Previous:CSS Position: Absolute, Relative Detailed Explanation
Next:HTML margin and inner margin padding are explained in detail
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com