演示代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="reset.css"/>
<style type="text/css">
p{
width: 300px;height: 50px;margin: 100px auto;
user-select: none;
}
a{
/* user-select: none; */
}
</style>
</head>
<body>
<p>
<a href="">我要自学</a>
</p>
</body>
</html>