A website that displays content each time that a visitor views it is called a dynamic web page. For instance, the page might change according to the time of the day, the visitor that accesses the page or even the type of interaction. Dynamic web pages are distinguished into two types.
This is used by web pages that vary depending on an action in the web page, like a mouse or keyboard action.
These scripts create client-side content, which is content that generates on the computer of the user instead than in the server. When this occurs, the user’s browser downloads the content of the webpage from the server, then processes the embedded webpage’s code and finally displays the updated content for the user.
Whereas, client-side scripting pages change with actions, server-side scripting pages change each time the web page is loaded or visited. This type of page generates content when the page is loaded. For instance, server-side is used by login pages, submission forms, online forums or shopping carts, because these pages need to change accordingly to what is submitted to them.
PHP, ASP.NET, ASP, JSP, Perl or ColdFusion are example of the scripting languages that permit web pages response to submission events.