Sunday, December 31, 2023

html datetime picker

 html datetime  picker


ஃ datetime  tag html

      syntax :

<input type="datetime-local">


  i]  The  datetime result value  include  the year, month, day, time.

 ii]  Datetime  input type  add the <label> tag use best accessible. 

 iii]  html element represents a specific time.

 iv]   Html tag use to define date and time.

 v]   Display time value 24 hour clock or date in calendar in HTML.

 vi]   datetime used to define machine-readable date/time with time element.


 datetime Value description 


  YYYY  :-   Four digit year ( 01-12)
  MM      :-  Two digit month  (01-31)
  DD       :-   Two digit day  (01-31)
   T          :-   Time value 
 
 HH      :-     Two digit minute (00-24)
 MM    :-      Two digit minute (00-59)
  SS       :-     Two digit second (00-59)
  TZD   :-    Time zone


html datetime  picker

  Html program :-  


<!DOCTYPE html>
<html>
<head>
   <title>select specific date time</title>
</head>
<body>
   <h3>select specific date time</h3>
   <form>
         <input type ="datetime-local"
name ="meetingdate"> <br><br>    
      </label>
      <input type="submit">
   </form>  
 
</body>
</html>


html datetime  picker

Output :-

html date time tag /output











Read more

👇👍👍👌

html color tag

line break html

html contact us form

html student registration form

html id attribute

html abbr tag


No comments:

Post a Comment