Guys "Dance" and "Electronic" are not the same. They are like cousin music genres, but not the same.
"Ray of light" is definately electronic, not dance.
Dance / electronic songs exist, but just pure dance or pure electronic songs exist as well
"Ray of light", the works of Moby and some works by Bjork are good examples of electronic music, while the works of Kylie Minogue, Daft Punk, or pet shop boys are good examples of pure dance artists.
The main difference is that generally electronic music is smooth, or more about setting a vibe in the cases of uptempo ones , dance music is more about rhythm, and it has to be danceable which is why its named dance music.
