When you enter data in the html input box, it checks whether it is a URL address.
By the way, when you say mandatory, if you want to make it mandatory to enter data in the box, you need to add the required code to your input code.
If you wish, you can define the pattern and make the URL header mandatory.
By the way, when you say mandatory, if you want to make it mandatory to enter data in the box, you need to add the required code to your input code.
If you wish, you can define the pattern and make the URL header mandatory.
HTML:
<input type="url" pattern="https://.*">