Four states have licensed online casinos and poker sites: Delaware, New Jersey, Pennsylvania, and Michigan. A fifth state, Nevada, has licensed online poker rooms. It’s a misnomer to say the remaining 46 states don’t have licensed online casinos, though. Residents in those states can play at offshore online casinos licensed in other countries (not the USA).
As for Internet sports betting, many states now have mobile sports betting apps: Colorado, Illinois, Indiana, Iowa, Michigan, Nevada, New Jersey, Pennsylvania, Tennessee, Virignia, and West Virginia. Six others have in-person betting: Arkansas, Delaware, Mississippi, Montana, New Mexico, and New York. Oregon and Montana technically have mobile gaming, but you have to enter a land-based casino before playing on mobile.