Skip to content

Instantly share code, notes, and snippets.

@Agneli
Created November 12, 2014 11:59
Show Gist options
  • Save Agneli/f198e6983495babf0cb5 to your computer and use it in GitHub Desktop.
Save Agneli/f198e6983495babf0cb5 to your computer and use it in GitHub Desktop.
Select de estados brasileiros
<!-- value com sigla e option com nome -->
<select>
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AM">Amazonas</option>
<option value="AP">Amapá</option>
<option value="BA">Bahia</option>
<option value="CE">Ceará</option>
<option value="DF">Distrito Federal</option>
<option value="ES">Espirito Santo</option>
<option value="GO">Goiás</option>
<option value="MA">Maranhão</option>
<option value="MG">Minas Gerais</option>
<option value="MS">Mato Grosso do Sul</option>
<option value="MT">Mato Grosso</option>
<option value="PA">Pará</option>
<option value="PB">Paraíba</option>
<option value="PE">Pernambuco</option>
<option value="PI">Piauí</option>
<option value="PR">Paraná</option>
<option value="RJ">Rio de Janeiro</option>
<option value="RN">Rio Grande do Norte</option>
<option value="RO">Rondônia</option>
<option value="RR">Roraima</option>
<option value="RS">Rio Grande do Sul</option>
<option value="SC">Santa Catarina</option>
<option value="SE">Sergipe</option>
<option value="SP">São Paulo</option>
<option value="TO">Tocantins</option>
</select>
<!-- value e option com sigla -->
<select>
<option value="AC">AC</option>
<option value="AL">AL</option>
<option value="AM">AM</option>
<option value="AP">AP</option>
<option value="BA">BA</option>
<option value="CE">CE</option>
<option value="DF">DF</option>
<option value="ES">ES</option>
<option value="GO">GO</option>
<option value="MA">MA</option>
<option value="MG">MG</option>
<option value="MS">MS</option>
<option value="MT">MT</option>
<option value="PA">PA</option>
<option value="PB">PB</option>
<option value="PE">PE</option>
<option value="PI">PI</option>
<option value="PR">PR</option>
<option value="RJ">RJ</option>
<option value="RN">RN</option>
<option value="RO">RO</option>
<option value="RR">RR</option>
<option value="RS">RS</option>
<option value="SC">SC</option>
<option value="SE">SE</option>
<option value="SP">SP</option>
<option value="TO">TO</option>
</select>
<!-- value e option com nome -->
<select>
<option value="Acre">Acre</option>
<option value="Alagoas">Alagoas</option>
<option value="Amazonas">Amazonas</option>
<option value="Amapá">Amapá</option>
<option value="Bahia">Bahia</option>
<option value="Ceará">Ceará</option>
<option value="Distrito Federal">Distrito Federal</option>
<option value="Espirito Santo">Espirito Santo</option>
<option value="Goiás">Goiás</option>
<option value="Maranhão">Maranhão</option>
<option value="Minas Gerais">Minas Gerais</option>
<option value="Mato Grosso do Sul">Mato Grosso do Sul</option>
<option value="Mato Grosso">Mato Grosso</option>
<option value="Pará">Pará</option>
<option value="Paraíba">Paraíba</option>
<option value="Pernambuco">Pernambuco</option>
<option value="Piauí">Piauí</option>
<option value="Paraná">Paraná</option>
<option value="Rio de Janeiro">Rio de Janeiro</option>
<option value="Rio Grande do Norte">Rio Grande do Norte</option>
<option value="Rondônia">Rondônia</option>
<option value="Roraima">Roraima</option>
<option value="Rio Grande do Sul">Rio Grande do Sul</option>
<option value="Santa Catarina">Santa Catarina</option>
<option value="Sergipe">Sergipe</option>
<option value="São Paulo">São Paulo</option>
<option value="Tocantins">Tocantins</option>
</select>
<!-- value com nome e option com sigla -->
<select>
<option value="Acre">AC</option>
<option value="Alagoas">AL</option>
<option value="Amazonas">AM</option>
<option value="Amapá">AP</option>
<option value="Bahia">BA</option>
<option value="Ceará">CE</option>
<option value="Distrito Federal">DF</option>
<option value="Espirito Santo">ES</option>
<option value="Goiás">GO</option>
<option value="Maranhão">MA</option>
<option value="Minas Gerais">MG</option>
<option value="Mato Grosso do Sul">MS</option>
<option value="Mato Grosso">MT</option>
<option value="Pará">PA</option>
<option value="Paraíba">PB</option>
<option value="Pernambuco">PE</option>
<option value="Piauí">PI</option>
<option value="Paraná">PR</option>
<option value="Rio de Janeiro">RJ</option>
<option value="Rio Grande do Norte">RN</option>
<option value="Rondônia">RO</option>
<option value="Roraima">RR</option>
<option value="Rio Grande do Sul">RS</option>
<option value="Santa Catarina">SC</option>
<option value="Sergipe">SE</option>
<option value="São Paulo">SP</option>
<option value="Tocantins">TO</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment