Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <h2>Champ Téléphone</h2> <p>La<strong>input type="tel"</strong>est utilisé pour les champs de saisie qui doivent contenir un numéro de téléphone :</p> <form action="https://www.w3schools.com/action_page.php"> <label for="phone">Entrez un numéro de téléphone :</label><br><br> <input type="tel" id="phone" name="phone" placeholder="123-45-678" pattern="[0-9]{3}-[0-9]{2}-[0-9]{3}" required><br><br> <small>Format : 123-45-678</small><br><br> <input type="submit" value="Submit"> </form> </body> </html>