More Type Examples

<form>
<p>
  <label>Time: <input type="time" name="time" /></label>
</p>
<p>
  <label>Date and time: 
  <input type="datetime" name="datetime" />
  </label>
</label>
</p>
<p>
  <label>Local date and time: 
  <input type="datetime-local" name="localdatetime" />
  </label>
</p>
<p>
  <label>Month: <input type="month" name="month" /></label>
</p>
<p>
  <label>Week: <input type="week" name="week" /></label>
</p>
<p>
  <label>Number: <input type="number" name="number" /></label>
</p>
<p>
  <label>URL: <input type="url" name="url" /></label>
</p>
<p>
  <label><input type="submit" value="Send data" /></label>
</p>
</form>


Previous | Next | Top | Cafe con Leche

Copyright 2007 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 8, 2007