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

时间:2019-03-29 05:17:47

标签: html css

我没有在使用<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

1 个答案:

答案 0 :(得分:1)

您的标记工作正常。

GetTotalRooms