Skip to content

Instantly share code, notes, and snippets.

@malteo
Created October 20, 2014 11:19
Show Gist options
  • Save malteo/d7bb8eb835be9b734fc2 to your computer and use it in GitHub Desktop.
Save malteo/d7bb8eb835be9b734fc2 to your computer and use it in GitHub Desktop.
HTML select per le province italiane raggruppate per regione
<select>
<optgroup label="Piemonte">
<option value="TO">Torino</option>
<option value="VC">Vercelli</option>
<option value="NO">Novara</option>
<option value="CN">Cuneo</option>
<option value="AT">Asti</option>
<option value="AL">Alessandria</option>
<option value="BI">Biella</option>
<option value="VB">Verbano-Cusio-Ossola</option>
</optgroup>
<optgroup label="Valle d'Aosta">
<option value="AO">Valle d'Aosta/Vallée d'Aoste</option>
</optgroup>
<optgroup label="Lombardia">
<option value="VA">Varese</option>
<option value="CO">Como</option>
<option value="SO">Sondrio</option>
<option value="MI">Milano</option>
<option value="BG">Bergamo</option>
<option value="BS">Brescia</option>
<option value="PV">Pavia</option>
<option value="CR">Cremona</option>
<option value="MN">Mantova</option>
<option value="LC">Lecco</option>
<option value="LO">Lodi</option>
<option value="MB">Monza e della Brianza</option>
</optgroup>
<optgroup label="Trentino-Alto Adige">
<option value="BZ">Bolzano/Bozen</option>
<option value="TN">Trento</option>
</optgroup>
<optgroup label="Veneto">
<option value="VR">Verona</option>
<option value="VI">Vicenza</option>
<option value="BL">Belluno</option>
<option value="TV">Treviso</option>
<option value="VE">Venezia</option>
<option value="PD">Padova</option>
<option value="RO">Rovigo</option>
</optgroup>
<optgroup label="Friuli-Venezia Giulia">
<option value="UD">Udine</option>
<option value="GO">Gorizia</option>
<option value="TS">Trieste</option>
<option value="PN">Pordenone</option>
</optgroup>
<optgroup label="Liguria">
<option value="IM">Imperia</option>
<option value="SV">Savona</option>
<option value="GE">Genova</option>
<option value="SP">La Spezia</option>
</optgroup>
<optgroup label="Emilia-Romagna">
<option value="PC">Piacenza</option>
<option value="PR">Parma</option>
<option value="RE">Reggio nell'Emilia</option>
<option value="MO">Modena</option>
<option value="BO">Bologna</option>
<option value="FE">Ferrara</option>
<option value="RA">Ravenna</option>
<option value="FC">Forlì-Cesena</option>
<option value="RN">Rimini</option>
</optgroup>
<optgroup label="Toscana">
<option value="MS">Massa-Carrara</option>
<option value="LU">Lucca</option>
<option value="PT">Pistoia</option>
<option value="FI">Firenze</option>
<option value="LI">Livorno</option>
<option value="PI">Pisa</option>
<option value="AR">Arezzo</option>
<option value="SI">Siena</option>
<option value="GR">Grosseto</option>
<option value="PO">Prato</option>
</optgroup>
<optgroup label="Umbria">
<option value="PG">Perugia</option>
<option value="TR">Terni</option>
</optgroup>
<optgroup label="Marche">
<option value="PU">Pesaro e Urbino</option>
<option value="AN">Ancona</option>
<option value="MC">Macerata</option>
<option value="AP">Ascoli Piceno</option>
<option value="FM">Fermo</option>
</optgroup>
<optgroup label="Lazio">
<option value="VT">Viterbo</option>
<option value="RI">Rieti</option>
<option value="RM">Roma</option>
<option value="LT">Latina</option>
<option value="FR">Frosinone</option>
</optgroup>
<optgroup label="Abruzzo">
<option value="AQ">L'Aquila</option>
<option value="TE">Teramo</option>
<option value="PE">Pescara</option>
<option value="CH">Chieti</option>
</optgroup>
<optgroup label="Molise">
<option value="CB">Campobasso</option>
<option value="IS">Isernia</option>
</optgroup>
<optgroup label="Campania">
<option value="CE">Caserta</option>
<option value="BN">Benevento</option>
<option value="NA">Napoli</option>
<option value="AV">Avellino</option>
<option value="SA">Salerno</option>
</optgroup>
<optgroup label="Puglia">
<option value="FG">Foggia</option>
<option value="BA">Bari</option>
<option value="TA">Taranto</option>
<option value="BR">Brindisi</option>
<option value="LE">Lecce</option>
<option value="BT">Barletta-Andria-Trani</option>
</optgroup>
<optgroup label="Basilicata">
<option value="PZ">Potenza</option>
<option value="MT">Matera</option>
</optgroup>
<optgroup label="Calabria">
<option value="CS">Cosenza</option>
<option value="CZ">Catanzaro</option>
<option value="RC">Reggio di Calabria</option>
<option value="KR">Crotone</option>
<option value="VV">Vibo Valentia</option>
</optgroup>
<optgroup label="Sicilia">
<option value="TP">Trapani</option>
<option value="PA">Palermo</option>
<option value="ME">Messina</option>
<option value="AG">Agrigento</option>
<option value="CL">Caltanissetta</option>
<option value="EN">Enna</option>
<option value="CT">Catania</option>
<option value="RG">Ragusa</option>
<option value="SR">Siracusa</option>
</optgroup>
<optgroup label="Sardegna">
<option value="SS">Sassari</option>
<option value="NU">Nuoro</option>
<option value="CA">Cagliari</option>
<option value="OR">Oristano</option>
<option value="OT">Olbia-Tempio</option>
<option value="OG">Ogliastra</option>
<option value="VS">Medio Campidano</option>
<option value="CI">Carbonia-Iglesias</option>
</optgroup>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment