HTML: Difference between revisions

265 bytes added ,  28 January 2020
(Created page with "A reference for HTML5 elements ==Inputs== See [https://getbootstrap.com/docs/4.4/components/forms/ Bootstrap forms] ===Range=== [https://developer.mozilla.org/en-US/docs/Web...")
 
Line 9: Line 9:
<input type="range" class="" id="myRange" min="1" max="100" value="50" step="1">
<input type="range" class="" id="myRange" min="1" max="100" value="50" step="1">
</syntaxhighlight>
</syntaxhighlight>
;Events
* See [https://stackoverflow.com/questions/18544890/onchange-event-on-input-type-range-is-not-triggering-in-firefox-while-dragging SO Answer]
* <code>input</code> triggered when the value of the slider is changed
* <code>change</code> triggered on mouse up


==Video==
==Video==