---
title: "Explain the differences between server-side and client-side code?"  
description: "Explain the differences between server-side and client-side code?"  
author: "Pushpendra Singh"  
published: 2010-10-25  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/137/explain-the-differences-between-server-side-and-client-side-code  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Explain the differences between server-side and client-side code?

**Server-side** scripting means that all the script will be executed by the server and interpreted as needed. Client-side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client-side scripting is usually done in VBScript or JavaScript. Since the code is included in the HTML page, anyone can see the code by viewing the page source. It also poses as a possible security hazard for the client computer.

## Answers

### Answer by Pushpendra Singh

**Server-side** scripting means that all the script will be executed by the server and interpreted as needed. Client-side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client-side scripting is usually done in VBScript or JavaScript. Since the code is included in the HTML page, anyone can see the code by viewing the page source. It also poses as a possible security hazard for the client computer.


---

Original Source: https://www.mindstick.com/interview/137/explain-the-differences-between-server-side-and-client-side-code

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
