Skip to content
Related Articles

Related Articles

Improve Article

What’s difference between The Internet and The Web ?

  • Difficulty Level : Easy
  • Last Updated : 31 Mar, 2021
Geek Week

Many folks consider that they both are same but are they really same?

The Internet is a global network of networks while the Web, also referred formally as World Wide Web (www) is collection of information which is accessed via the Internet. Another way to look at this difference is; the Internet is infrastructure while the Web is service on top of that infrastructure. Alternatively, the Internet can be viewed as a big book-store while the Web can be viewed as collection of books on that store. At a high level, we can even think of the Internet as hardware and the Web as software!

Web applications use Http protocol which is a layer over TCP protocol. Whereas internet application can use either TCP or UDP protocol. To visualize the difference think of it as internet is a network of many computers connected together so you can use any port say 90 to send or receive data whereas in web port is fixed as http uses port 80 to communicate and also the data which is sent is html , CSS and JavaScript. So if you want a feel of internet application make a socket connection at a random port and send data to another computer via the socket. So in this case you are using internet for communication and not web.

Hope this helps!!

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :