锚标签关闭后如何阻止文本被点击?

How to stop text from being clickable after anchor tag is off?

我不知道如何真正解释它,但是每当我像下面这样使用锚标记时,最后一个元素仍然带有下划线并且可以点击。我是初学者,所以我很确定为什么会发生这种情况,我什至观看了视频以了解如何删除它 link,但我不知道如何真正描述更多。

<body>
<a href = "www.google.com </a>"
 <p class= "Google"> Google </p>
 <p> The website above is google. </p>
</body>
</html>```
![End Result](https://imgur.com/a/DTCo99i)

您的输入有误 code.Below 是正确的版本。

<body>
<a href="www.google.com">Google</a>
 <p> The website above is google. </p>
</body>
</html>

试试这个:

<body>
    <a href="www.google.com">
      <p class="google"> Google </p>
    </a>
    <p> The website above is google. </p> 
</body>