Switch to full style
Examples for HTML5
Post a reply

Inputs in HTML5

Thu Aug 02, 2012 5:38 pm

HTML5 inputs tags examples:
Date Picker
Code:
<input type="date" name="mydate"> 

Placeholder
Code:
<input name="myname" type="text" placeholder="Enter your first name"> 

Slider
Code:
<input type="range" value=30 name="Width" min=0 max=100 step=> 

Spinner
Code:
<input type="number-spin" value="20"  min="0" max="100" step="2" > 

Datalist
Code:
<input name="weblink " id="weblink" type="url" list="mylist" >
<
datalist id=" mylist ">
<
option value="http://www.codemiles.com" label="Codemiles">
<
option value="http://javaxforums.com" label="javaxforums">
<
option value="http://facebook.com" label="Facebook">
</
datalist> 

Multiple File Selection
Code:
<input type="file" name="myPhotos " multiple="multiple" /> 

Progress Bar
Code:
<progress   max=100 value=33>33%</progress> 

Meter
Code:
<meter min=0 max=100 value=33 optimum=33>33</meter> 

Color Picker
Code:
<input type="color"> 




Post a reply
  Related Posts  to : Inputs in HTML5
 Template to start HTML5     -  
 calculate sum of many text inputs in javascript     -