<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
//
<a href="http://www.abc.com" title="连接" style="cursor:hand; text-decoration:underline;">点我试试看</a><br><br>
//隐藏a标签的 url地址
<a onclick="top.location ='https://www.abc.com'"
style="cursor:hand; text-decoration:underline;color: blue;">点我试试看</a>
<br><br>
</body>
</html>
鼠标放上时,隐藏a标签的href属性
最新推荐文章于 2024-07-12 16:31:27 发布