Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Sauvegarder le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <h2>Champ de date local</h2> <p>La<strong>input type="datetime-local"</strong>spécifie un champ de saisie de date et d'heure, sans fuseau horaire.</p> <form action="https://www.w3schools.com/action_page.php"> <label for="birthdaytime">Anniversaire (date et heure) :</label> <input type="datetime-local" id="birthdaytime" name="birthdaytime"> <input type="submit" value="Submit"> </form> <p><strong>Remarque :</strong>type="datetime-local" n'est pas pris en charge dans Internet Explorer 11.</p> </body> </html>