url attribute

<input type=url>


URL Attribute is used to enter the "URL Address" in the input field in a browser.

Example Code:

Result :

Enter an URL:
  • If it is necessary to place an URL in a webpage/site, then this attribute can be used.


It will function only in Firefox, Opera and Chrome browsers.
This attribute is also applicable in Opera browser in the "iphone".

Ask Questions

Ask Question