VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-typeurl/

⇱ HTML <input type="url"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type="url">

Last Updated : 20 May, 2024

The HTML <input type="url"> element is used to create an input field for entering a URL. It provides validation for URLs, ensuring that the value entered is a properly formatted web address. This element helps improve user experience by guiding users to enter valid URLs in web forms.

Syntax

<input type="url"> 

Example: This example demonstrates the use of HTML <input type="url"> element.

Output

👁 HTML-Input-Type-URL

Supported Browsers

  • Chrome 1
  • Edge 12
  • Firefox 1
  • Opera 11
  • Safari 1
Comment
Article Tags: