index.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!doctype html>
  2. <title>Widgets demo</title>
  3. <link rel="stylesheet" type="text/css" href="widgets.css">
  4. <button onclick="document.body.classList.toggle('dark')">Switch Light/Dark</button><br><br>
  5. <input type="button" value="input[type=button]"/><br><br>
  6. <input type="submit"/><br><br>
  7. <input type="reset"/><br><br>
  8. <input type="color"/><br><br>
  9. <hr>
  10. <select>
  11. <option>Option 1</option>
  12. <option>Option 2</option>
  13. <option>Option 3</option>
  14. </select><br><br>
  15. <select multiple>
  16. <option>Option 1</option>
  17. <option>Option 2</option>
  18. <option>Option 3</option>
  19. </select><br><br>
  20. <input type="file"/><br><br>
  21. <input type="range"/><br><br>
  22. <input type="checkbox" id="choice"/><label for="choice">Binary Choice</label><br><br>
  23. <input type="radio" name="radio-choice" id="opt-1"/><label for="opt-1">Option 1</label><br>
  24. <input type="radio" name="radio-choice" id="opt-2"/><label for="opt-2">Option 2</label><br><br>
  25. <input type="date"/><br><br>
  26. <input type="datetime-local"/><br><br>
  27. <input type="time"/><br><br>
  28. <input type="email"/><br><br>
  29. <input type="month"/><br><br>
  30. <input type="number"/><br><br>
  31. <input type="password"/><br><br>
  32. <input type="search"/><br><br>
  33. <input type="tel"/><br><br>
  34. <input type="text"/><br><br>
  35. <input type="url"/><br><br>
  36. <input type="week"/><br><br>
  37. <textarea></textarea>