A form with a URL field that must start with http:// or https:// followed by at least one character:
Click the "Try it" button to display the value of the pattern attribute of the URL field.