make a search engine website that contain URL as input text and button named (GO) if you click on Go will redirect you to the written URL 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>