HTML5 URL form field which provides native client-side validation in modern browsers.
Creates an input field with <type="url">.
Also sets the pattern attribute to restrict the client-side validation to only
our desired schemes (http and/or https).
This element automatically adds a Regex constraint,
so you dont have to.
If neither http_only or https_only are set, the constraint allows any HTTP or HTTPS url.