源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <form action="action_page.php"> 电话: <input type="tel" name="usrtel"> <input type="submit"> </form> <p><b>注意:</b> type="tel" 仅支持Safari 8和更新的版本.</p> </body> </html>
运行结果