Last active
June 7, 2023 11:23
-
-
Save vielhuber/f6a609457b23c8082b1adb8c74aa3a8e to your computer and use it in GitHub Desktop.
input type url #html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input | |
autocomplete="on" | |
autofocus="autofocus" | |
value="" | |
maxlength="255" | |
type="url" | |
placeholder="URL" | |
required="required" | |
name="url" | |
id="url" | |
/> | |
<!-- weaker --> | |
<input | |
type="text" | |
pattern="^(?:https?:\/\/|s?ftps?:\/\/)?(?!www | www\.)[A-Za-z0-9_\-\\]+\.+[A-Za-z0-9.\/%&=\?_:;\-\\]+$" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment