Pages

Tuesday, 21 July 2015

Web Designing Tutorials(Spinners and Sliders)

Two other HTML5 controls you can add to forms are spinners and sliders. Sadly, though, only Opera and Chrome support the spinner. A spinner allows you to increase or decrease a number in a box by clicking little up and down arrows. They look like this in the Opera browser:
An HTML 5 spin box
The HTML code for the spinner box looks like this:
<INPUT TYPE=”NUMBER” MIN=”0″ MAX=”10″ STEP=”2″ VALUE=”6″ SIZE=”6″>

No comments:

Post a Comment