From 84f6af2d3b9779b4168e9c3265e8941531155823 Mon Sep 17 00:00:00 2001 From: Nicholas Paldino Date: Fri, 17 Jan 2025 17:38:20 -0500 Subject: [PATCH] Update example to use type="time" instead of type="number" (#37692) For the example around modifying a time input, the type should be "time", not "number". --- files/en-us/web/html/element/input/time/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/html/element/input/time/index.md b/files/en-us/web/html/element/input/time/index.md index 9a0669844bef623..8f37eabaa5dee24 100644 --- a/files/en-us/web/html/element/input/time/index.md +++ b/files/en-us/web/html/element/input/time/index.md @@ -284,7 +284,7 @@ In this example, we create an interface element for choosing time using the nati ### CSS ```css -input[type="number"] { +input[type="time"] { width: 100px; }