Web Page: A web page is a web paper that is supported by World Wide Web. A website contains one or more web pages. There are two types of web pages: Static and Dynamic

Static Web Page: Static means constant that is not changing. Static web pages are generally made in HTML (Hyper Text Mark up Language). The viewers get the same data whenever they browse the web page. The data of static web page changes only when the owner of the website updates the web page and publishes it on web. The file extension of static web pages is .htm or .html. It can be checked when you browse the website by writing web address/URL in address bar of browser.

Dynamic Web Page: Dynamic web page is a page within the website that shows different content to the viewers whenever they visit the website. The content of the web page depends upon various parameters like the date and time may vary according to system parameters, the content may vary if the web page is driven by database or it may vary if the owner of the website changes the images and data shown on the web page. Web pages made through ASP, PHP, JSP are dynamic web pages. The file extension of dynamic web pages is generally .asp, .php or.jsp. There are two types of dynamic web pages viz Client-Side Scripting and Server-Side Scripting.

Client-Side Scripting: 

If a web page responds to some action like a mouse or keyboard action then it is known as client-side scripting. Languages like JavaScript, Flash, etc. are known as client side scripting languages. Such languages allow a web page to respond to the events generated by clients. For example validation checking while filling a web form or color changes on mouse over or mouse out event.

Server-Side Scripting:

If the content of the web page changes every time it is loaded then it uses server side scripting languages like PHP, ASP, Perl, JSP, etc. Login forms, shopping carts, forums, etc. use server-side scripting and the content of these web pages changes according to what has been submitted to it. Server-Side Scripting acts as a middleware between the client and the database/ data source.

Advantage of Server-Side Scripting: Server-Side scripting enables the web page owner to lesser the chances of user access to source code of server side script that may be proprietary or valuable enough to be secured.

Limitation of Server-Side Scripting: The fall side of using server side scripting is that the server computer needs to have almost all the good computing resources before it sends the web page to the client.

Conclusion:
Dynamic websites are updated websites as the data or content of the website changes over time with the change in database. Such websites are either data driven or Client Event Driven. Client Driven websites need some event to fire from client and it takes action accordingly like mouse event or keyboard event. Data driven websites depends upon data from database and interaction of client and server. Client submits data to server and server responds to the client accordingly and it accesses data from the database.