A Web service is a web application component that uses standardized format like XML to interact with other web applications over internet. Check our post What is a Web Service? for detailed explaination on web services.
Whereas a website is a collection of webpages put together which are accessed by a web browser.
|1.||A web service doesn't have a user interface||A website has a user interface or GUI|
|2.||Web services are meant for other applications to be interacted with over internet||Websites are meant for use by humans|
|3.||Web services are platform independent as they use open protocols||Websites are cross platform as they require tweaking to operate on different browsers, operating systems etc.|
|4.||Web services are accessed by HTTP methods - GET, POST, PUT, DELETE etc||Websites are accessed by using their GUI components - buttons, text boxes, forms etc.|
|5.||E.g. Google maps API is a web service that can be used by websites to display Maps by passing coordinates to it||E.g. ArtOfTesting.com is website that has collection of related web pages containing tutorials|