gpt4 book ai didi

html - 为什么段落中的内容显示为链接?

转载 作者:太空宇宙 更新时间:2023-11-04 06:22:04 25 4
gpt4 key购买 nike

我没有放置我的段落 <p> <a> 中的内容(我至少不想作为链接的内容)使用 href 的标签属性,但它们显示为链接。

第一张图片:在浏览器中查看的整个页面;
第二张图片:我想要超链接的内容。

下面的html代码显示了我的<main>中的内容。元素。

`

   <p>Welcome to Forward Fitness Club. Our mission is to help our clients meet their fitness <b>AND</b> nutrition goals.<br> </p>

<h2> FREE ONE-WEEK TRIAL MEMBERSHIP</h2>


<a href="Contact Us.html">Call Us today to Get Started</a> <br>

<h3>Fitness Club Hours</h3> <br>

<p>
<ul>
<li> Monday-Thursday: 6:00am - 6:00pm</li>
<li> Friday: 6:00am - 4:00pm</li>
<li> Saturday: 8:00am - 6:00pm</li>
<li> Sunday: Closed</li>
</ul>

</p>

`

Entire page

Part that i don't want as hyperlinks

最佳答案

您的标记工作正常。

<p>Welcome to Forward Fitness Club. Our mission is to help our clients meet their fitness <b>AND</b> nutrition goals.<br> </p>

<h2> FREE ONE-WEEK TRIAL MEMBERSHIP</h2>


<a href="Contact Us.html">Call Us today to Get Started</a> <br>

<h3>Fitness Club Hours</h3> <br>

<p>
<ul>
<li> Monday-Thursday: 6:00am - 6:00pm</li>
<li> Friday: 6:00am - 4:00pm</li>
<li> Saturday: 8:00am - 6:00pm</li>
<li> Sunday: Closed</li>
</ul>

</p>

关于html - 为什么段落中的内容显示为链接?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55410926/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com