Collect flags country abbreviations based on ISO 3166-1 standard. The list of countrys is in wikipedia https://en.wikipedia.org/wiki/ISO_3166-1
- Download the repository
- Put in you page
- Link css in your html
NOTE: Link external css: <link rel="stylesheet" type="text/css" href="flags.css">
Add in you page one tag <i>
with class country_flags
and add atribute country and the abbreviations based on ISO 3166-1
Example:
<i class="country_flags" country="AD">
You can change size with atribute size
, have 6 defaults sizes: ultra_small, small, medium, large, extra_large, ultra_large
Example:
<i class="country_flags" country="AD" size="ultra_large"></i>