Html dropdown list of African countries (Bootstrap)

html select dropdown list of african countries

Html Select dropdown list of African countries

Here is boostrap-based input select dropdown HTML list for  African countries. The list includes south sudan as an independent country in Africa.

There are 54 African Countries as at the time of this post:

<div class="form-group">
<label for="african-countries">African Countries</i></label>
<select type="text" class="form-control " id="african-countries">
<option selected>Choose</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>
</div>

 

Kindly let us know if there is anything we need to do to improve the code.

0

Comments

comments

admin

Author : admin

Leave a Reply

Your email address will not be published. Required fields are marked *