Header Ads

Static Web Pages Vs Dynamic Web Pages

Difference between Static & Dynamic web pages.

We can broadly classify web sites and web pages into two categories:

1. Static web pages
2. Dynamic web pages

Static Web Pages

A static web page is a page which has the same content always.

In case of static web pages, content is written in the page itself as plain html. Until the author of the web page updates the content, the content remains the same in the static pages.

Static web pages are meant for providing information which does not change often.

Dynamic Web Pages

Dynamic web pages get content from database. Content is NOT hard-coded in the page itself.

Dynamic pages are created using "server side code" when the page is loaded every time.

No comments:

Powered by Blogger.