Skip to content

Instantly share code, notes, and snippets.

@Emmathem
Created August 31, 2017 14:01
Show Gist options
  • Save Emmathem/8b2fc23ccb6d82dca1db1726ce1679f1 to your computer and use it in GitHub Desktop.
Save Emmathem/8b2fc23ccb6d82dca1db1726ce1679f1 to your computer and use it in GitHub Desktop.
Lists of Africa Country in HTML. dropdown, it often needed in form
<select class="form-control" name="country" required>
<option value="0" hidden="hidden"> --Country-- </option>
<option value="Algeria">Algeria</option>
<option value="Angola">Angola</option>
<option value="Benin">Benin</option>
<option value="Botswana">Botswana</option>
<option value="Burkina Faso">Burkina Faso</option>
<option value="Burundi">Burundi</option>
<option value="Cameroon">Cameroon</option>
<option value="Cape-Verde">Cape Verde</option>
<option value="Central-African-Republic">Central African Republic</option>
<option value="Chad">Chad</option>
<option value="Comoros">Comoros</option>
<option value="Congo-Brazzaville">Congo - Brazzaville</option>
<option value="Congo-Kinshasa">Congo - Kinshasa</option>
<option value="Ivory-Coast">Côte d’Ivoire</option>
<option value="Djibouti">Djibouti</option>
<option value="Egypt">Egypt</option>
<option value="Equatorial-Guinea">Equatorial Guinea</option>
<option value="Eritrea">Eritrea</option>
<option value="Ethiopia">Ethiopia</option>
<option value="Gabon">Gabon</option>
<option value="Gambia">Gambia</option>
<option value="Ghana">Ghana</option>
<option value="Guinea">Guinea</option>
<option value="Guinea-Bissau">Guinea-Bissau</option>
<option value="Kenya">Kenya</option>
<option value="Lesotho">Lesotho</option>
<option value="Liberia">Liberia</option>
<option value="Libya">Libya</option>
<option value="Madagascar">Madagascar</option>
<option value="Malawi">Malawi</option>
<option value="Mali">Mali</option>
<option value="Mauritania">Mauritania</option>
<option value="Mauritius">Mauritius</option>
<option value="Mayotte">Mayotte</option>
<option value="Morocco">Morocco</option>
<option value="Mozambique">Mozambique</option>
<option value="Namibia">Namibia</option>
<option value="Niger">Niger</option>
<option value="Nigeria">Nigeria</option>
<option value="Rwanda">Rwanda</option>
<option value="Reunion">Réunion</option>
<option value="Saint-helena">Saint Helena</option>
<option value="Senegal">Senegal</option>
<option value="Seychelles">Seychelles</option>
<option value="Sierra-Leone">Sierra Leone</option>
<option value="Somalia">Somalia</option>
<option value="South-Africa">South Africa</option>
<option value="Sudan">Sudan</option>
<option value="South-sudan">Sudan</option>
<option value="Swaziland">Swaziland</option>
<option value="Sao-Tome-Príncipe">São Tomé and Príncipe</option>
<option value="Tanzania">Tanzania</option>
<option value="Togo">Togo</option>
<option value="Tunisia">Tunisia</option>
<option value="Uganda">Uganda</option>
<option value="Western-sahara">Western Sahara</option>
<option value="Zambia">Zambia</option>
<option value="Zimbabwe">Zimbabwe</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment