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>

Let’s Roll!

I’ve finally decided to jump on the blogosphere bandwagon – albeit probably 10 years too late.

What can you expect from this blog at AndrewSims.com? General ramblings and discussion on a range of topics.

Look out for more posts and in the meantime, check out my social links:

[ssbluelist]

[/ssbluelist]