online
Word family
Synonym discussion
Sense: adjective/1
All four words describe things that exist or happen via computer networks, but the emphases and use cases differ. 'Online' is the most general and everyday term — it simply means accessible through the internet: an online store, an online course, online banking. 'Digital' is much broader; it refers to any technology that uses electronic signals rather than physical or analogue formats — a digital camera, digital recording, digital transformation — even if there is no internet connection involved. 'Web-based' is more specific: it describes software or content accessed through a web browser (a web-based email client, a web-based editor). 'Virtual' emphasises the experience of something being simulated or existing in a computer-generated space — a virtual classroom, a virtual tour — and often contrasts with a physical equivalent. For everyday shopping, studying, or communication, 'online' is the natural choice; use 'digital' for the broader technology category, 'web-based' when the browser is central, and 'virtual' when the experience replaces a physical one.
Common collocations
Etymology
The word 'online' is formed by combining 'on' (indicating position or activation) with 'line' (a connected route or channel). It first appeared in the 1950s in computing, where a device was said to be 'on line' if it was directly connected to and controlled by a central computer. Earlier uses in railroading (a train 'on line' meaning it was running on its scheduled route) and telecommunications (phone lines) prepared the ground. The modern internet meaning exploded in the 1990s as the World Wide Web became popular, turning 'online' from a technical term into an everyday word for anything accessed through the internet.