<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Time Picker</title>
</head>
<body>
<!--24 Hours format-->
<input type="time" value="22:53:05" />
</body>
</html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Time Picker</title>
</head>
<body>
<!--24 Hours format-->
<input type="time" value="22:53:05" />
</body>
</html>
Time Picker with default value
- We can specify default time using valueattribute.
- The time should be specified in 24 hours format.
HTML:-Time picker set value
Reviewed by Network security
on
April 30, 2019
Rating:
No comments: