¿Hay alguna manera de hacer que un número de teléfono se pueda hacer clic en un teléfono iphone o Android para hacer una llamada en HTML?


¿Es posible hacer clic en un número de teléfono en HTML para que cuando un usuario haga clic en el número se llame?

Author: Ynhockey, 2011-01-01

2 answers

Algo como esto debería funcionar:

<a href="tel:+1-800-555-5555">Call 1-800-555-5555</a>

Más información:

Http://en.wikipedia.org/wiki/URI_scheme#tel :

Http://tools.ietf.org/html/rfc3966

 139
Author: Mark B,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2010-12-31 22:31:21

Puede detectar un número de teléfono en iOS con:

<i>web_view.dataDetectorTypes=UIDataDetectorTypePhoneNumber;<i>
 0
Author: Muthu Ram,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2015-04-22 13:48:29