HTML Value Syntax
HTML time syntax
A time uses two-digit hours (00–23) and minutes (00–59), optionally seconds (00–59) and one to three fractional digits if seconds are included. No time zone or leap-second value is encoded. This is a value grammar, not a standalone HTML element.
Formal Syntax & Structure
html syntaxhtml
HH:mm[:ss[.sss]]Working Example
Example Snippethtml
<label> Time <input type="time" step="1" value="09:30:15"></label>