There's no single answer, because the "best" online game depends entirely on what you enjoy and how you like to play. Almost every game can be played multiplayer in some form, so it really comes down to what kind of gamer you are.
Casual gamer: You play just for fun or to fill time, and you don't want a heavy challenge or a lot of thinking.
Strategy gamer: You like multiple paths to the same goal and enjoy planning your approach, without wanting it to be brutally hard.
Competitive gamer: You chase the rush of that last kill, achievement, or item, and you want your effort to produce tangible results, even if it means repeating something many times.
Flash Games: From side-scrollers and tower defense to RPGs, racing, sports, and arcade titles, sites like Newgrounds, Kongregate, Armor Games, and MoFunZone host a huge variety. Quality and enjoyment can depend on your connection speed.
RPG Games: You create and customize a character who grows stronger as you play. Single-player RPGs are common, while dedicated multiplayer ones are called MMORPGs (or MMOs). World of Warcraft is the most famous example, though many popular MMOs are pay-to-play while plenty of free-to-play options exist. RPGs tend to suit strategy and competitive players.
FPS Games: First-person shooters like Halo, Call of Duty, and Counter-Strike are fast-paced and built around racking up kills, with achievements as rewards. Most are pay-to-play, and they're a natural fit for competitive gamers.
RTS Games: Real-time strategy titles like StarCraft and Age of Empires are about gathering resources, building, and commanding armies to conquer your enemies. They usually don't require a monthly fee and appeal strongly to strategy gamers.
TBS Games: Turn-based strategy games are similar to RTS but let everyone take turns, giving you more time to think. Casual players sometimes prefer these to the faster RTS style.
Fighting Games: Games like Street Fighter, Mortal Kombat, and Super Smash Bros. are fast, head-to-head experiences best enjoyed with friends. Some reward button-mashing, while others demand real skill.
There are more genres than these, but somewhere in this list you're likely to find a niche that clicks with your play style.