- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 2417 Articles for HTML
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
93 Views
The HTML DOM Input URL value property returns a string if value attribute is defined of input URL. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputURLObject.valueSetting value attribute to a string valueinputURLObject.value = ‘String’ExampleLet us see an example for Input URL value property − Live Demo Input URL value form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
66 Views
The Input URL size property returns/sets the size property for input URL. If not defined this property returns ‘20’.SyntaxFollowing is the syntax −Returning size attributeinputURLObject.sizeSet size property to a numberinputURLObject.size = numberExampleLet us see an example for Input URL size property − Live Demo Input URL size form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } URL-size URL: ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
67 Views
The Input URL required property determines whether Input URL is compulsory to set or not.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputURLObject.requiredSetting required to booleanValueinputURLObject.required = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailsTrueIt is compulsory to set the url field to submit form.FalseIt is the default value and to set an url field is not compulsory.ExampleLet us see an example for Input URL required property − Live Demo Input URL required form { width:70%; margin: 0 auto; text-align: center; } * { ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
81 Views
The HTML DOM Input URL readOnly property sets/returns whether Input URL can be modified or not.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputURLObject.readOnlySetting readOnly to booleanValueinputURLObject.readOnly = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailsTrueIt defines that the input url field is readOnly.FalseIt defines that the input url field is not readOnly and can be modified.ExampleLet us see an example of Input URL readOnly property − Live Demo Input URL readOnly form { width:70%; margin: 0 auto; text-align: center; } * { padding: ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
123 Views
The HTML DOM Input URL placeholder property sets/returns a string generally used to give hints to user of what the input text will look like.SyntaxFollowing is the syntax −Returning string valueinputURLObject.placeholderSetting placeholder to stringValueinputURLObject.placeholder = stringValueExampleLet us see an example of Input URL placeholder property − Live Demo Input URL placeholder form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
194 Views
The HTML DOM Input URL pattern property sets/returns the regular expression corresponding to URL Input. The pattern attribute’s value is checked against the text typed in url field.SytaxFollowing is the syntax −Returning regular expressioninputURLObject.patternSetting pattern to regular expressioninputURLObject.pattern = ‘RegExp’ExampleLet us see an example of Input URL pattern property − Live Demo Input URL pattern form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="submit"] { border-radius: 10px; ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
57 Views
The HTML DOM Input URL name property returns a string, which is the value of the name property of input URL. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputURLObject.nameSetting name attribute to a string valueinputURLObject.name = ‘String’ExampleLet us see an example of Input URL name property − Live Demo Input URL name form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
72 Views
The HTML DOM Input URL maxLength property returns/sets the maxLength property for input URL. If not defined this property returns ‘-1’.SyntaxFollowing is the syntax −Returning maxLength attributeinputURLObject.maxLengthSet maxLength property to a numberinputURLObject.maxLength = numberExampleLet us see an example of Input URL maxLength property − Live Demo Input URL maxLength form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
96 Views
The HTML DOM Input URL form property returns the reference of enclosing form for input URL.SyntaxFollowing is the syntax −Returning reference to the form objectinputURLObject.formExampleLet us see an example of Input URL form property − Live Demo Input URL form form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } URL-form URL : ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
87 Views
The HTML DOM Input URL disabled property sets/returns whether Input URL is enabled or disabled.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputURLObject.disabledSetting disabled to booleanValueinputURLObject.disabled = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailsTrueIt defines that the input url is disabled.FalseIt defines that the input url is not disabled and it is also the default value.ExampleLet us see an example of Input URL disabled property − Live Demo Input Email disabled form { width:70%; margin: 0 auto; text-align: center; } * { ... Read More