What is a web script?

Web scripts are computer programming languages ​​to add dynamism to World Wide Web pages. Markup websites in HTML or XML are mostly static documents.

Web scripts are computer programming languages ​​to add dynamism to World Wide Web pages. Markup websites in HTML (Hypertext Markup Language) or XML (Extensible Markup Language) are mostly static documents.

What is a web script? Picture 1What is a web script? Picture 1

Creating a web script can add information to a page when readers use it or allow readers to enter information, such as to navigate to the online ordering department of an online business.

CGI (Common Gateway Interface) provides a mechanism. It transmits requests and responses between the reader's web browser and the web server providing the page. The CGI component on the server contains small programs called scripts, which pull information from the browser system or provide information to display.

What is a web script? Picture 2What is a web script? Picture 2

A simple script can ask for the name, identify the Internet address of the system the reader uses, and give a greeting. Scripts can be written in any programming language, but, since they are often simple word processing processes, computer scripting languages ​​like PERL are particularly suitable. .

Another approach is to use the language designed for web scripts to be executed by the browser. JavaScript, designed by Netscape Communications Corp., is such a language. It can be used with both Netscape and Microsoft browsers.

What is a web script? Picture 3What is a web script? Picture 3

JavaScript is a simple language, completely different from Java. JavaScript can be embedded in a web page with HTML tags

4 ★ | 6 Vote