The blackjack rules are the same whether you play online or in person. Sometimes online sites will feature special rules or introduce certain variants that change the game, but you can encounter that in live blackjack, as well. The biggest difference when playing online is that the hands tend to play much faster. Another obvious difference is the missing social component that comes from playing alongside other players, although that doesn’t materially change the game.