It’s about time. We are now on Instagram!
Old English ontemn, antefn, "a composition (in prose or verse) sung antiphonally," from Late Latin antefana, from Greek antiphona "verse response" (see antiphon). Sense evolved to "a composition set to sacred music" (late 14c.), then "song of praise or gladness" (1590s). Used in reference to the English national song (technically, as OED points out, a hymn) and extended to those of other nations. Modern spelling is from late 16c., perhaps an attempt to make the word look more Greek.