see a
an</a> is the older form, from Old English meaning "one". In modern English "an" is used before vowel sounds, whereas "a" is used before consonants and glides.