2016-10-26 61 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

相關問題