加拿大和美国省份和州选择列表

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了加拿大和美国省份和州选择列表相关的知识,希望对你有一定的参考价值。

Every now and then I need a form select list of all provinces and states... I figured I'm not the only one, so here you go, hope it helps!
  1. <select name="province">
  2. <option value="" selected="selected"> - Province - </option>
  3. <option value="AB">Alberta</option>
  4. <option value="BC">British Columbia</option>
  5. <option value="MB">Manitoba</option>
  6. <option value="NB">New Brunswick</option>
  7. <option value="NL">Newfoundland and Labrador</option>
  8. <option value="NS">Nova Scotia</option>
  9. <option value="NT">Northwest Territories</option>
  10. <option value="NU">Nunavut</option>
  11. <option value="ON">Ontario</option>
  12. <option value="PE">Prince Edward Island</option>
  13. <option value="QC">Quebec</option>
  14. <option value="SK">Saskatchewan</option>
  15. <option value="YT">Yukon</option>
  16. <option value=""> - States - </option>
  17. <option value="AL">Alabama</option>
  18. <option value="AK">Alaska</option>
  19. <option value="AZ">Arizona</option>
  20. <option value="AR">Arkansas</option>
  21. <option value="CA">California</option>
  22. <option value="CO">Colorado</option>
  23. <option value="CT">Connecticut</option>
  24. <option value="DE">Delaware</option>
  25. <option value="DC">District Of Columbia</option>
  26. <option value="FL">Florida</option>
  27. <option value="GA">Georgia</option>
  28. <option value="HI">Hawaii</option>
  29. <option value="ID">Idaho</option>
  30. <option value="IL">Illinois</option>
  31. <option value="IN">Indiana</option>
  32. <option value="IA">Iowa</option>
  33. <option value="KS">Kansas</option>
  34. <option value="KY">Kentucky</option>
  35. <option value="LA">Louisiana</option>
  36. <option value="ME">Maine</option>
  37. <option value="MD">Maryland</option>
  38. <option value="MA">Massachusetts</option>
  39. <option value="MI">Michigan</option>
  40. <option value="MN">Minnesota</option>
  41. <option value="MS">Mississippi</option>
  42. <option value="MO">Missouri</option>
  43. <option value="MT">Montana</option>
  44. <option value="NE">Nebraska</option>
  45. <option value="NV">Nevada</option>
  46. <option value="NH">New Hampshire</option>
  47. <option value="NJ">New Jersey</option>
  48. <option value="NM">New Mexico</option>
  49. <option value="NY">New York</option>
  50. <option value="NC">North Carolina</option>
  51. <option value="ND">North Dakota</option>
  52. <option value="OH">Ohio</option>
  53. <option value="OK">Oklahoma</option>
  54. <option value="OR">Oregon</option>
  55. <option value="PA">Pennsylvania</option>
  56. <option value="RI">Rhode Island</option>
  57. <option value="SC">South Carolina</option>
  58. <option value="SD">South Dakota</option>
  59. <option value="TN">Tennessee</option>
  60. <option value="TX">Texas</option>
  61. <option value="UT">Utah</option>
  62. <option value="VT">Vermont</option>
  63. <option value="VA">Virginia</option>
  64. <option value="WA">Washington</option>
  65. <option value="WV">West Virginia</option>
  66. <option value="WI">Wisconsin</option>
  67. <option value="WY">Wyoming</option>

以上是关于加拿大和美国省份和州选择列表的主要内容,如果未能解决你的问题,请参考以下文章

在dojo过滤中设置第一项选择onChange

我需要美国州和州县的名单[关闭]

未调用材质暴露下拉菜单 OnItemSelectedListener

如何设置选择下拉列表国家和州的“选定选项”

加拿大萨省和北京时间相差几个小时?

如何将系统时间转换成utc时间