Answers for "time format input html"

0

html5 time input

<!DOCTYPE html>
<html>
<body>

<form action="url here">
  <label for="time">Select a time:</label>
  <input type="time" id="time input" name="time input:">
  <input type="submit">
</form>

</body>
</html>
Posted by: Guest on January-28-2022
1

html datetime format

<time datetime="1914">  <!-- means the year 1914 -->
<time datetime="1914-12">  <!-- means December 1914 -->
<time datetime="1914-12-20">  <!-- means 20 December 1914 -->
<time datetime="12-20">  <!-- means 20 December any year -->
<time datetime="1914-W15">  <!-- means week 15 of year 1914 -->
Posted by: Guest on August-28-2021

Browse Popular Code Answers by Language