If you ask what constitutes a valid URL you will most definitely get different answers depending on who you ask. This affects the url input type and means that even though most browsers demand a URL prefix you can make one up yourself and both http:// and bonk:// will be accepted as valid url prefixes. (Actually, the only thing you need is a letter and the colon - try it out yourself in the LIve Preview Validator below). On the other hand, no spaces are allowed but your url doesn’t need to include a period. As I have hopefully made clear, you cannot rely completely on the url input for validation yet, but it is still a good idea to include it as it future-proofs your website.
<form> <input type="url" required /> <input type="submit" value="Submit Now!"> </form>
<form> <input type="url" pattern="https?://.+" required /> <input type="submit" value="Submit Now!"> </form>