to ensure user input is a link in html
snippet in html

to ensure user input is a link in html

user668

<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>