Home
Run >
<!DOCTYPE html> <html> <head> <!-- www.mytech.com --> <meta charset="utf-8"> <title>HTML5 URL Example</title> </head> <body bgcolor="#bnde45"> <fieldset> <legend>HTML5 URL Type</legend> <table> <tr> <td><form action="#">Enter URL: <input type="url" name="url" required/> <input type="submit"/></form></td></tr> </form></td></tr> </table> </fieldset> <br/> <fieldset> <legend>HTML5 URL Type With List</legend> <table> <tr> <td><form action="#">Choose URL: <input type="url" list="URL-choices" name="val" required/> <input type="submit"/> <datalist id="URL-choices"> <option label="https://www.mytech.com" value="www.mytech.com"> <option label="https://www.google.com" value="www.google.com"> <option label="https://www.yahoo.com" value="www.yahoo.com"> <option label="https://www.bing.com" value="www.bing.com"> </datalist> </form></td></tr> </form></td></tr> </table> </fieldset> </body> </html>