Web Technologies - Old Questions
11. Explain about client side programming with example?
5 marks
|
Asked in 2073
Client-side programming mostly deals with the user interface with which the user interacts in the web. It is mostly a browser, in the user's machine, that runs the code and is mainly done in any scripting language like JavaScript.
Client-side Uses:
- Makes interactive web pages
- Make stuff work dynamically
- Interact with temporary storage
- Works as an interface between user and server
- Sends requests to the server
- Retrieval of data from Server
- Interact with local storage
- Provides remote access for client-server program
There are many client-side scripting languages too.
- JavaScript
- VBScript
- HTML (Structure)
- CSS (Designing)
- AJAX
- jQuery etc.
Client-side Example:
// sample HTML code
<html>
<head>
<title>Client Side </title>
</head>
<body>
<h1>
Hello Guys!!
</h1>
</body>
</html>