![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
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
AmitDiwan has Published 11367 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
78 Views
The HTML DOM Input URL defaultValue property sets/returns the default value corresponding to URL Input. The value attribute changes as the user types in the URL input but default value does not change.SyntaxFollowing is the syntax −Returning string valueinputURLObject.defaultValueSetting defaultValue to stringinputURLObject.defaultValue = ‘string’ExampleLet us see an example of Input ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
139 Views
The HTML DOM scrollHeight property returns the entire height (content + padding) of an element in px in an HTML document.SyntaxFollowing is the syntax −element.scrollHeightExampleLet us see an example of scrollHeight property − Live Demo html{ height:100%; } body{ ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
84 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 ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
94 Views
The DOM scrollWidth property returns the entire width (content + padding) of an element in pixels in an HTML document.SyntaxFollowing is the syntax −element.scrollWidthExampleLet us see an example of scrollWidth property − Live Demo html{ height:100%; } body{ text-align:center; ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
95 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%; ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
71 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 ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
56 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 ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
101 Views
The DOM PageTransitionEvent is an event which occurs when a user navigates between the webpages.Property of PageTransitionEvent objectPropertyExplanationpersistedIt returns true or false value depending upon whether the webpage was cached or not.Types of events belong to PageTransitionEvent objectEventsExplanationpageHideIt happens when the user navigates away from a webpage.pageShowIt happens when the ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
123 Views
The HTML DOM Input URL Object represents an input HTML element with type url.SyntaxFollowing is the syntax −Creating an with type url.var urlObject = document.createElement(“input”); urlObject.type = “url”;AttributesHere, “urlObject” can have the following attributes −AttributesDescriptionautocompleteIt provides suggestions based on previously typed text, if set to ‘ON’autofocusIf set to true ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
191 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 ... Read More