The input element offers many possibilities to process user input. Using the "type" attribute, this function can also be extended and implemented in a more developer-friendly way, thanks to HTML5. But caution is advised here. Not all browsers (especially not all versions of these browsers) support these extra functions. The Firefox browser from Mozilla for example has an almost bug worthy behavior regarding the additional output of icons and their functions. For more information about the behavior when using additional input types I recommend, have a look at the official documentation of Mozilla.By "type=time" becomes in Firefox (as of 07.01.2022 version 95.0.1 (64-bit) for Ubuntu canonical - 1.0) will always be a rendered delete button to clear the time input in the input field. To solve this, the "required" tag in the HTMl-button element helps.
For more information about the behavior when using additional input types I recommend, looking into the official documentation of Mozilla.