object(mysqli_result)#13 (5) {
["current_field"]=>
int(0)
["field_count"]=>
int(25)
["lengths"]=>
NULL
["num_rows"]=>
int(1)
["type"]=>
int(0)
}
HTML 單擊手機網頁上的鏈接時如何觸發電話 - 程序員論壇 - Powered by Discuz!
程序員論壇
標題: HTML 單擊手機網頁上的鏈接時如何觸發電話 [打印本頁]
作者: fire002 時間: 2020-7-6 18:26
標題: HTML 單擊手機網頁上的鏈接時如何觸發電話
單擊手機網頁上的鏈接時如何觸發電話
How to trigger a phone call when clicking a link in a web page on mobile phone
大多數現代設備都支持tel:方案。 因此,使用- <a href="tel:555-555-5555"> 555-555-5555 </a>
複製代碼 ,您應該一切順利。
如果您想將其用於圖像,則<a>標記可以處理放置在其中的<img />,就像使用其他正常情況一樣:- <a href="tel:555-555-5555"> <img src = “ path / to / phone / icon.jpg” /> </a>
複製代碼 Most modern devices support the tel: scheme. So use <a href="tel:555-555-5555">555-555-5555</a> and you should be good to go.
If you want to use it for an image, the <a> tag can handle the <img/> placed in it just like other normal situations with : <a href="tel:555-555-5555"><img src="path/to/phone/icon.jpg" /></a>
歡迎光臨 程序員論壇 (http://program.thesmartfire.com/) |
Powered by Discuz! X2.5 |