
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 2202 Articles for HTML

122 Views
The DOM input number stepUp() method increments the value of input number field by a specified value.SyntaxFollowing is the syntax −object.stepUp(number)Here, if number parameter is omitted then it increments the value by 1.ExampleLet us see an example of HTML DOM input number stepUp() method − Live Demo HTML DOM stepUp()/stepDown() Demo body{ text-align:center; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100vh; color:#fff; } p{ font-size:1.5rem; } input{ width:40%; ... Read More

116 Views
The HTML DOM input month form property returns the reference of the form that contains the month input field in the HTML document.SyntaxFollowing is the syntax −object.formExampleLet us see an example of HTML DOM input month form property − Live Demo body{ text-align:center; background-color:#363946; color:#fff; } form{ margin:2.5rem auto; } button{ background-color:#db133a; border:none; cursor:pointer; padding:8px 16px; color:#fff; border-radius:5px; ... Read More

76 Views
The HTML DOM input month stepUp() method steps up (increment) the value of input month field by a specified value.SyntaxFollowing is the syntax −object.stepUp(number)Here, if number parameter is omitted then it increments the value by 1.ExampleLet us see an example of input month stepUp() method − Live Demo HTML DOM stepUp()/stepDown() Demo body{ text-align:center; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100vh; color:#fff; ... Read More

67 Views
The HTML DOM input month stepDown() method steps down (decrement) the value of input month field by a specified value.SyntaxFollowing is the syntax −object.stepDown(number)Here, if number parameter is omitted then it decrements the value by 1.ExampleLet us see an example of input month stepDown() method − Live Demo HTML DOM stepUp()/stepDown() Demo body{ text-align:center; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100vh; color:#fff; ... Read More

110 Views
The HTML DOM input month autofocus property returns and modify whether the input month field should get focused or not when page load.SyntaxFollowing is the syntax −Returning autofocusobject.autofocusModifying autofocusobject.autofocus = true | falseExampleLet us see an example of HTML DOM input month autofocus property − Live Demo HTML DOM autofocus property body{ text-align:center; } p{ font-size:1.5rem; color:#ff8741; } input{} button{ background-color:#db133a; color:#fff; padding:8px; border:none; width:120px; ... Read More

129 Views
The HTML DOM input month value property returns and modify the value of the value attribute of an input month field.SyntaxFollowing is the syntax −Returning valueobject.value2. Modifying valueobject.value = true | falseExampleLet us see an example of HTML DOM input month value property− Live Demo html{ height:100%; } body{ text-align:center; color:#fff; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100%; } p{ font-weight:700; font-size:1.1rem; } ... Read More

153 Views
The HTML DOM input month type property returns the value of the type attribute of input month field in an HTML document.SyntaxFollowing is the syntax −object.typeExampleLet us see an example of HTML DOM input month type property − Live Demo html{ height:100%; } body{ text-align:center; color:#fff; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100%; } p{ font-weight:700; font-size:1.1rem; } input{ ... Read More

117 Views
The HTML DOM input month step property returns and modify the value of the step attribute of input month field in an HTML document.SyntaxFollowing is the syntax −1. Returning stepobject.step2. Modifying stepobject.step = “number”ExampleLet us see an example of HTML DOM input month step property − Live Demo html{ height:100%; } body{ text-align:center; color:#fff; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100%; } p{ font-weight:700; font-size:1.1rem; } input{ ... Read More

119 Views
The HTML DOM input month required property returns and modify whether the input month field must be filled out before submitting the form.SyntaxFollowing is the syntax −1. Returning requiredobject.required2. Modifying requiredobject.required = true | falseExampleLet us see an example of HTML DOM input month required property − Live Demo html{ height:100%; } body{ text-align:center; color:#fff; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) center/cover no-repeat; height:100%; } p{ font-weight:700; font-size:1.1rem; ... Read More