Open In App

HTML DOM Input URL list Property

Last Updated : 27 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

The input URL list property in HTML DOM is used to return a reference to the datalist element that contains an input URL field.

Syntax:

urlObject.list.id

Return Value: It returns a string value that represents the value of the id attribute of the datalist element.

Example: Below HTML code is used to return the input URL list property. 

Output:

 

Supported Browsers:

  • Google Chrome 1
  • Edge 12
  • Mozilla Firefox
  • Opera 11
  • Safari
     

Article Tags :

Similar Reads