Province State Select HTML


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <select id="state" name="state">
  2. <option value="">Select One</option>
  3.  
  4. <optgroup label="other">
  5. <option value="other">Other</option>
  6.  
  7. <optgroup label="Canadian Provinces">
  8. <option value="AB">Alberta</option>
  9. <option value="BC">British Columbia</option>
  10. <option value="MB">Manitoba</option>
  11. <option value="NB">New Brunswick</option>
  12. <option value="NF">Newfoundland</option>
  13. <option value="NT">Northwest Territories</option>
  14. <option value="NS">Nova Scotia</option>
  15. <option value="NU">Nunavut</option>
  16. <option value="ON">Ontario</option>
  17. <option value="PE">Prince Edward Island</option>
  18. <option value="QC">Quebec</option>
  19. <option value="SK">Saskatchewan</option>
  20. <option value="YT">Yukon Territory</option>
  21.  
  22. <optgroup label="U.S. States">
  23. <option value="AK">Alaska</option>
  24. <option value="AL">Alabama</option>
  25. <option value="AR">Arkansas</option>
  26. <option value="AZ">Arizona</option>
  27. <option value="CA">California</option>
  28. <option value="CO">Colorado</option>
  29. <option value="CT">Connecticut</option>
  30. <option value="DC">District of Columbia</option>
  31. <option value="DE">Delaware</option>
  32. <option value="FL">Florida</option>
  33. <option value="GA">Georgia</option>
  34. <option value="HI">Hawaii</option>
  35. <option value="IA">Iowa</option>
  36. <option value="ID">Idaho</option>
  37. <option value="IL">Illinois</option>
  38. <option value="IN">Indiana</option>
  39. <option value="KS">Kansas</option>
  40. <option value="KY">Kentucky</option>
  41. <option value="LA">Louisiana</option>
  42. <option value="MA">Massachusetts</option>
  43. <option value="MD">Maryland</option>
  44. <option value="ME">Maine</option>
  45. <option value="MI">Michigan</option>
  46. <option value="MN">Minnesota</option>
  47. <option value="MO">Missouri</option>
  48. <option value="MS">Mississippi</option>
  49. <option value="MT">Montana</option>
  50. <option value="NC">North Carolina</option>
  51. <option value="ND">North Dakota</option>
  52. <option value="NE">Nebraska</option>
  53. <option value="NH">New Hampshire</option>
  54. <option value="NJ">New Jersey</option>
  55. <option value="NM">New Mexico</option>
  56. <option value="NV">Nevada</option>
  57. <option value="NY">New York</option>
  58. <option value="OH">Ohio</option>
  59. <option value="OK">Oklahoma</option>
  60. <option value="OR">Oregon</option>
  61. <option value="PA">Pennsylvania</option>
  62. <option value="PR">Puerto Rico</option>
  63. <option value="RI">Rhode Island</option>
  64. <option value="SC">South Carolina</option>
  65. <option value="SD">South Dakota</option>
  66. <option value="TN">Tennessee</option>
  67. <option value="TX">Texas</option>
  68. <option value="UT">Utah</option>
  69. <option value="VA">Virginia</option>
  70. <option value="VT">Vermont</option>
  71. <option value="WA">Washington</option>
  72. <option value="WI">Wisconsin</option>
  73. <option value="WV">West Virginia</option>
  74. <option value="WY">Wyoming</option>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.