Australian State Select / Drop Down List

I’m forever having to create new select html drop-downs for projects, so rather than hunting through Google, It’s easier to post it here.

Props go out to Morgan Leek for doing the heavy lifting.

 

<!-- States & Territories by Population Size -->

<select name="state">
    <option value="nsw">New South Wales</option>
    <option value="vic">Victoria</option>
    <option value="qld">Queensland</option>
    <option value="wa">Western Australia</option>
    <option value="sa">South Australia</option>
    <option value="tas">Tasmania</option>
    <option value="act">Australian Capital Territory</option>
    <option value="nt">Northern Territory</option>
</select>

<!-- States & Territories Alphabetical -->

<select name="state">
    <option value="act">Australian Capital Territory</option>
    <option value="nsw">New South Wales</option>
    <option value="nt">Northern Territory</option>
    <option value="qld">Queensland</option>
    <option value="sa">South Australia</option>
    <option value="tas">Tasmania</option>
    <option value="vic">Victoria</option>
    <option value="wa">Western Australia</option>
</select>