Web Scripting
# Server-Side Scripting Guide
* * *
## ASP and PHP - Server-Side Scripting
An HTML file can contain text, HTML tags, and scripts.
Server-side scripting is programming for server behavior. This is called server-side scripting or server scripting.
Client-side scripting is programming for browser behavior. (See the (#) tutorial).
Typically, when a browser requests an HTML file, the server returns the file. However, if the file contains server-side scripts, the scripts in the HTML file are executed first before the HTML file is returned to the browser as plain HTML.
* * *
## What Can Server Scripts Do?
* Dynamically edit, change, or add any content to a web page
* Respond to user requests or data submitted by HTML forms
* Access data or databases and return results to the browser
* Customize pages for different users
* Enhance web page security, making your web page code not viewable through the browser
**Important Note:** Since scripts execute on the server, the browser can display server-side files even if it does not support scripting!
* * *
## ASP and PHP
At Tutorial, we demonstrate server-side scripting using Active Server Pages (ASP) and Hypertext Preprocessor (PHP).
* * *
## ASP Examples
(#)
How to write text with ASP.
(#)
How to format text with HTML tags.
* * *
## How to Learn ASP or PHP?
Learn our (#), or our (#).
YouTip