HTML for Time Zone dropdown/select


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



Copy this code and paste it in your HTML
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <meta charset="utf-8">
  4. <title>HTML for Time Zone dropdown/select</title>
  5. <style type="text/css">
  6. body { text-align: center; margin: auto; padding: 20px; }
  7. label { font-weight: bold; margin: 0 4px; }
  8. select { margin: 0; padding: 0; }
  9. </style>
  10. </head>
  11. <!-- START TIME ZONE SNIPPET -->
  12. <label for="time_zone">Time Zone</label>
  13.  
  14. <select id="time_zone">
  15. <option value="Hawaii">(GMT-10:00) Hawaii</option>
  16. <option value="Alaska">(GMT-09:00) Alaska</option>
  17. <option value="Pacific Time (US &amp; Canada)">(GMT-08:00) Pacific Time (US &amp; Canada)</option>
  18. <option value="Arizona">(GMT-07:00) Arizona</option>
  19. <option value="Mountain Time (US &amp; Canada)">(GMT-07:00) Mountain Time (US &amp; Canada)</option>
  20. <option value="Central Time (US &amp; Canada)" selected="selected">(GMT-06:00) Central Time (US &amp; Canada)</option>
  21. <option value="Eastern Time (US &amp; Canada)">(GMT-05:00) Eastern Time (US &amp; Canada)</option>
  22. <option value="Indiana (East)">(GMT-05:00) Indiana (East)</option><option value="" disabled="disabled">-------------</option>
  23. <option value="International Date Line West">(GMT-11:00) International Date Line West</option>
  24. <option value="Midway Island">(GMT-11:00) Midway Island</option>
  25. <option value="Samoa">(GMT-11:00) Samoa</option>
  26. <option value="Tijuana">(GMT-08:00) Tijuana</option>
  27. <option value="Chihuahua">(GMT-07:00) Chihuahua</option>
  28. <option value="Mazatlan">(GMT-07:00) Mazatlan</option>
  29. <option value="Central America">(GMT-06:00) Central America</option>
  30. <option value="Guadalajara">(GMT-06:00) Guadalajara</option>
  31. <option value="Mexico City">(GMT-06:00) Mexico City</option>
  32. <option value="Monterrey">(GMT-06:00) Monterrey</option>
  33. <option value="Saskatchewan">(GMT-06:00) Saskatchewan</option>
  34. <option value="Bogota">(GMT-05:00) Bogota</option>
  35. <option value="Lima">(GMT-05:00) Lima</option>
  36. <option value="Quito">(GMT-05:00) Quito</option>
  37. <option value="Caracas">(GMT-04:30) Caracas</option>
  38. <option value="Atlantic Time (Canada)">(GMT-04:00) Atlantic Time (Canada)</option>
  39. <option value="La Paz">(GMT-04:00) La Paz</option>
  40. <option value="Santiago">(GMT-04:00) Santiago</option>
  41. <option value="Newfoundland">(GMT-03:30) Newfoundland</option>
  42. <option value="Brasilia">(GMT-03:00) Brasilia</option>
  43. <option value="Buenos Aires">(GMT-03:00) Buenos Aires</option>
  44. <option value="Georgetown">(GMT-03:00) Georgetown</option>
  45. <option value="Greenland">(GMT-03:00) Greenland</option>
  46. <option value="Mid-Atlantic">(GMT-02:00) Mid-Atlantic</option>
  47. <option value="Azores">(GMT-01:00) Azores</option>
  48. <option value="Cape Verde Is.">(GMT-01:00) Cape Verde Is.</option>
  49. <option value="Casablanca">(GMT) Casablanca</option>
  50. <option value="Dublin">(GMT) Dublin</option>
  51. <option value="Edinburgh">(GMT) Edinburgh</option>
  52. <option value="Lisbon">(GMT) Lisbon</option>
  53. <option value="London">(GMT) London</option>
  54. <option value="Monrovia">(GMT) Monrovia</option>
  55. <option value="Amsterdam">(GMT+01:00) Amsterdam</option>
  56. <option value="Belgrade">(GMT+01:00) Belgrade</option>
  57. <option value="Berlin">(GMT+01:00) Berlin</option>
  58. <option value="Bern">(GMT+01:00) Bern</option>
  59. <option value="Bratislava">(GMT+01:00) Bratislava</option>
  60. <option value="Brussels">(GMT+01:00) Brussels</option>
  61. <option value="Budapest">(GMT+01:00) Budapest</option>
  62. <option value="Copenhagen">(GMT+01:00) Copenhagen</option>
  63. <option value="Ljubljana">(GMT+01:00) Ljubljana</option>
  64. <option value="Madrid">(GMT+01:00) Madrid</option>
  65. <option value="Paris">(GMT+01:00) Paris</option>
  66. <option value="Prague">(GMT+01:00) Prague</option>
  67. <option value="Rome">(GMT+01:00) Rome</option>
  68. <option value="Sarajevo">(GMT+01:00) Sarajevo</option>
  69. <option value="Skopje">(GMT+01:00) Skopje</option>
  70. <option value="Stockholm">(GMT+01:00) Stockholm</option>
  71. <option value="Vienna">(GMT+01:00) Vienna</option>
  72. <option value="Warsaw">(GMT+01:00) Warsaw</option>
  73. <option value="West Central Africa">(GMT+01:00) West Central Africa</option>
  74. <option value="Zagreb">(GMT+01:00) Zagreb</option>
  75. <option value="Athens">(GMT+02:00) Athens</option>
  76. <option value="Bucharest">(GMT+02:00) Bucharest</option>
  77. <option value="Cairo">(GMT+02:00) Cairo</option>
  78. <option value="Harare">(GMT+02:00) Harare</option>
  79. <option value="Helsinki">(GMT+02:00) Helsinki</option>
  80. <option value="Istanbul">(GMT+02:00) Istanbul</option>
  81. <option value="Jerusalem">(GMT+02:00) Jerusalem</option>
  82. <option value="Kyiv">(GMT+02:00) Kyiv</option>
  83. <option value="Minsk">(GMT+02:00) Minsk</option>
  84. <option value="Pretoria">(GMT+02:00) Pretoria</option>
  85. <option value="Riga">(GMT+02:00) Riga</option>
  86. <option value="Sofia">(GMT+02:00) Sofia</option>
  87. <option value="Tallinn">(GMT+02:00) Tallinn</option>
  88. <option value="Vilnius">(GMT+02:00) Vilnius</option>
  89. <option value="Baghdad">(GMT+03:00) Baghdad</option>
  90. <option value="Kuwait">(GMT+03:00) Kuwait</option>
  91. <option value="Moscow">(GMT+03:00) Moscow</option>
  92. <option value="Nairobi">(GMT+03:00) Nairobi</option>
  93. <option value="Riyadh">(GMT+03:00) Riyadh</option>
  94. <option value="St. Petersburg">(GMT+03:00) St. Petersburg</option>
  95. <option value="Volgograd">(GMT+03:00) Volgograd</option>
  96. <option value="Tehran">(GMT+03:30) Tehran</option>
  97. <option value="Abu Dhabi">(GMT+04:00) Abu Dhabi</option>
  98. <option value="Baku">(GMT+04:00) Baku</option>
  99. <option value="Muscat">(GMT+04:00) Muscat</option>
  100. <option value="Tbilisi">(GMT+04:00) Tbilisi</option>
  101. <option value="Yerevan">(GMT+04:00) Yerevan</option>
  102. <option value="Kabul">(GMT+04:30) Kabul</option>
  103. <option value="Ekaterinburg">(GMT+05:00) Ekaterinburg</option>
  104. <option value="Islamabad">(GMT+05:00) Islamabad</option>
  105. <option value="Karachi">(GMT+05:00) Karachi</option>
  106. <option value="Tashkent">(GMT+05:00) Tashkent</option>
  107. <option value="Chennai">(GMT+05:30) Chennai</option>
  108. <option value="Kolkata">(GMT+05:30) Kolkata</option>
  109. <option value="Mumbai">(GMT+05:30) Mumbai</option>
  110. <option value="New Delhi">(GMT+05:30) New Delhi</option>
  111. <option value="Kathmandu">(GMT+05:45) Kathmandu</option>
  112. <option value="Almaty">(GMT+06:00) Almaty</option>
  113. <option value="Astana">(GMT+06:00) Astana</option>
  114. <option value="Dhaka">(GMT+06:00) Dhaka</option>
  115. <option value="Novosibirsk">(GMT+06:00) Novosibirsk</option>
  116. <option value="Sri Jayawardenepura">(GMT+06:00) Sri Jayawardenepura</option>
  117. <option value="Rangoon">(GMT+06:30) Rangoon</option>
  118. <option value="Bangkok">(GMT+07:00) Bangkok</option>
  119. <option value="Hanoi">(GMT+07:00) Hanoi</option>
  120. <option value="Jakarta">(GMT+07:00) Jakarta</option>
  121. <option value="Krasnoyarsk">(GMT+07:00) Krasnoyarsk</option>
  122. <option value="Beijing">(GMT+08:00) Beijing</option>
  123. <option value="Chongqing">(GMT+08:00) Chongqing</option>
  124. <option value="Hong Kong">(GMT+08:00) Hong Kong</option>
  125. <option value="Irkutsk">(GMT+08:00) Irkutsk</option>
  126. <option value="Kuala Lumpur">(GMT+08:00) Kuala Lumpur</option>
  127. <option value="Perth">(GMT+08:00) Perth</option>
  128. <option value="Singapore">(GMT+08:00) Singapore</option>
  129. <option value="Taipei">(GMT+08:00) Taipei</option>
  130. <option value="Ulaan Bataar">(GMT+08:00) Ulaan Bataar</option>
  131. <option value="Urumqi">(GMT+08:00) Urumqi</option>
  132. <option value="Osaka">(GMT+09:00) Osaka</option>
  133. <option value="Sapporo">(GMT+09:00) Sapporo</option>
  134. <option value="Seoul">(GMT+09:00) Seoul</option>
  135. <option value="Tokyo">(GMT+09:00) Tokyo</option>
  136. <option value="Yakutsk">(GMT+09:00) Yakutsk</option>
  137. <option value="Adelaide">(GMT+09:30) Adelaide</option>
  138. <option value="Darwin">(GMT+09:30) Darwin</option>
  139. <option value="Brisbane">(GMT+10:00) Brisbane</option>
  140. <option value="Canberra">(GMT+10:00) Canberra</option>
  141. <option value="Guam">(GMT+10:00) Guam</option>
  142. <option value="Hobart">(GMT+10:00) Hobart</option>
  143. <option value="Melbourne">(GMT+10:00) Melbourne</option>
  144. <option value="Port Moresby">(GMT+10:00) Port Moresby</option>
  145. <option value="Sydney">(GMT+10:00) Sydney</option>
  146. <option value="Vladivostok">(GMT+10:00) Vladivostok</option>
  147. <option value="Magadan">(GMT+11:00) Magadan</option>
  148. <option value="New Caledonia">(GMT+11:00) New Caledonia</option>
  149. <option value="Solomon Is.">(GMT+11:00) Solomon Is.</option>
  150. <option value="Auckland">(GMT+12:00) Auckland</option>
  151. <option value="Fiji">(GMT+12:00) Fiji</option>
  152. <option value="Kamchatka">(GMT+12:00) Kamchatka</option>
  153. <option value="Marshall Is.">(GMT+12:00) Marshall Is.</option>
  154. <option value="Wellington">(GMT+12:00) Wellington</option>
  155. <option value="Nuku'alofa">(GMT+13:00) Nuku'alofa</option>
  156. </select>
  157. <!-- END TIME ZONE SNIPPET -->
  158. </body>
  159. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.