Differences between Static and Dynamic Websites
There are two basic types of websites – dynamic and static. The back end work that goes into creating these websites differ in the cases of both static and dynamic websites. The main differentiating factor between a static and a dynamic website is that the static website can be changed only with the developer editing its source code. HTML and CSS are common elements in the process of building both static and dynamic websites.
A static website is built using only HTML and CSS and does not involve any scripting. Viewers of a static website will not see a variation in content from one visit to the next. A change can be seen only if the source code is edited by the web developer.
An example of a static website is BahutBadhiya Labs – http://www.bahutbadhiya.com/
In dynamic websites, the content on the homepage changes from one visit to the next. Dynamic websites normally make use of a coding language like PHP to build a particular page within a website when the user lands on the webpage. If a piece of content that repeats across different web pages within the website needs to be edited, it needs to be edited only once in the backend and it automatically gets edited on the other pages as well. A dynamic website is like a script which generates multiple instances of static pages through a single code.
On a dynamic website, there are both front-end and back-end scripts involved in making the website interactive. These front-end and back-end scripts are also sometimes referred to as the client-side and server-side scripts.
An example of a dynamic website is Flipkart – http://www.flipkart.com/