Difference between Static and Dynamic Web Pages
Difference between Static and Dynamic Web Pages
Static Web Pages
- Static Web pages are very simple. It is written in languages such as HTML, JavaScript, CSS, etc.
- For static web pages when a server receives a request for a web page, then the server sends the response to the client without doing any additional process. And these web pages are seen through a web browser.
Dynamic Web Pages
- Dynamic Web Pages are written in languages such as CGI, AJAX, ASP, ASP.NET, etc.
- In dynamic web pages, the Content of pages is different for different visitors.
- It takes more time to load than the static web page.
Static Vs Dynamic Web Pages
| No | Static Web Page | Dynamic Web Page |
|---|---|---|
| 1 | Pages will remain same until someone changes it manually. |
Content of pages are different for different visitors. |
| 2 | Static Web Pages are simple in terms of complexity. | Dynamic web pages are complicated. |
| 3 | Information are change rarely. | Information are change frequently. |
| 4 | Static Web Page takes less time for loading than dynamic web page. |
Dynamic web page takes more time for loading. |
| 5 | In Static Web Pages, database is not used. | In dynamic web pages, database is used. |
| 6 | Static web pages are written in languages such as: HTML, JavaScript, CSS, etc. |
Dynamic web pages are written in languages such as: CGI, AJAX, ASP, ASP.NET, etc. |
| 7 | It does not contain any application program . | It contains application program for different services. |
| 8 | Static web pages require less work and cost in designing them. |
Dynamic web pages require comparatively more work and cost in designing them. |