This phrase evolved through a series of usages and references. The phrase is typically attributed to Milton 's 1645 poem L'Allegro, which includes the lines
where does trip the light fantastic come from
Milton 's 1645 poem L'Allegro