2016-10-26 60 views
0

我只是想知道如何把一个超链接的文本之后:如何将超链接放在同一行上?

如果您需要在PCSE任何进一步的信息,请访问PCSE website.-的常见问题解答部分(HYPERLINK HERE)

<div class="panel-body"> 
<p>If you require any further information on PCSE, please visit the FAQ section of the PCSE website.-</p> <a href="http://pcse.england.nhs.uk/help/"></a> 
</div> 

谢谢

+3

为什么你把它标记为C#? – mybirthname

回答

2

您将结束<p>,然后添加<a>。如果您在<p>中包含<a>,则应该没问题。

<div class="panel-body"> 
<p>If you require any further information on PCSE, please visit the FAQ section of the PCSE website.- <a href="http://pcse.england.nhs.uk/help/"></a></p> 
</div> 
+0

超链接不会出现在视图上 – Sam

+0

@Sam因为您还没有写过标签之间的任何内容。把你想让它成为可点击的世界广告将把你发送到这些标签之间的网址。例如:Click here eg16

0

那么,如果div足够大,它不应该从开始。

接下来,不要使用“ - ”。连字符是用来打破行 Instear,使用非断字符:‑

+0

是真的! + ChrisBint - >

正在打破它! – user5328504

0

你需要把<a></a>标签<p>...</p>标签内。 在你的情况下,解决方案看起来像:

<div class="panel-body"> 
    <p> 
     If you require any further information on PCSE, please visit the FAQ section of the PCSE website.- <a href="http://pcse.england.nhs.uk/help/"></a> 
    </p> 
</div> 
+0

超链接不出现 – Sam

+0

@Sam因为你没有写任何标签之间的任何东西。 把你想让它成为可点击的世界广告将把你发送到这些标签之间的网址。 例如:Click here eg16

相关问题