<html>
<body>
<h2>Telephone Field</h2>
<p>The <strong>input type="tel"</strong> is used for input fields that should contain a telephone number:</p>
<form action="https://www.w3schools.com/action_page.php">
Telephone: <input type="tel" name="phone" pattern="[0-9]{3}-[0-9]{2}-[0-9]{3}" required>
<input type="submit">
<span>Format: 123-45-678</span>
</form>
</body>
<!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_input_tel by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:25:16 GMT -->
</html>