Not quite. There is a subtle, but immense difference between the two.
.
He invented the World Wide Web in 1989, a software infrastructure that operates on the internet.
http://en.m.wikipedia.org/wiki/World_Wide_Web
The internet was invented by ARPA, (now DARPA) back in 1969. It was then known as ARPANET.
http://en.m.wikipedia.org/wiki/ARPANET
.
He invented the World Wide Web in 1989, a software infrastructure that operates on the internet.
http://en.m.wikipedia.org/wiki/World_Wide_Web
The internet was invented by ARPA, (now DARPA) back in 1969. It was then known as ARPANET.
http://en.m.wikipedia.org/wiki/ARPANET