Prop Url Type
# HTML DOM Input URL type property\n\n[ Input URL Object](#)\n\n## Example\n\nReturn the form element type of the URL field:\n\n```javascript\nvar x = document.getElementById("myURL").type;\n\n_x_ The output result is:\n\nurl\n\n[Try it Β»](#)\n\n* * *\n\n## Definition and Usage\n\nThe type property returns the form type of the URL field.\n\nFor input type="url", the property usually returns "url".\n\n* * *\n\n## Browser Support\n\n\n\nThe type property is supported in all major browsers.\n\n**Note:** Internet Explorer or Safari browsers do not support the HTML element with the type="url" attribute.\n\n* * *\n\n## Syntax\n\n```javascript\n_urlObject_.type\n\n## Technical Details\n\n| Return Value: | A string, representing the form element type of the URL field |\n| --- |\n\n* * Input URL Object](#)
YouTip