html input website code example
Example: to ensure user input is a link in html
<form action="../../form-result.php" method="post" target="_blank">
<p>
Website: <input type="url" name="website" placeholder="Do you have a website?">
<input type="submit" value="Send data">
</p>
</form>