Static vs Dynamic Web Page

Static vs Dynamic Web Page

A static web page is a web page that does not change with time automatically. Like for example I create a website that says when I was born. Maybe I have added a picture to it as well. Now this page is needs not change over time. In this case building a static web page is good enough. One thing before you go deeper – Static vs Dynamic Web pages is not an epic battle of history 😀

A dynamic web page is one that changes with time. For example a news website, any blog or weather service, or even Facebook are all examples of dynamic web pages.

What makes a web page static or dynamic?

Back in the early nineties when the web in this form first came into being, all sites were just text and some images thrown in. There was only HTML, some CSS and a few images. That was it.

In time a new need arose for more user interaction. Like what if I want to buy something? Now the credit card information entries were not yet there initially. But of course, postal orders were in. With time, the need for forms began where users would fill up their details. In came some database elements. Depending on their inputs a new page would be dynamically generated that would contain the postal address and order details for that particular user. So came scripting languages. Javascript is the only survivor.

Static Web Page image
An example of an (almost) static web page

Slowly requirement for more interaction brought in further developments like DHTML, XHTML and the like. Better animation was demanded and in came Flash.

Dynamic pages will change their look over time. For example the screenshot of say Facebook or Google will change from today to tomorrow. There will be new posts, pictures etc. But your blog’s contact page is not likely to change soon. That can be considered relatively ‘static’.

Dynamic Web Pages image
This Dynamic Web Page changes from day to day.

I hope this was easy to understand so that you could get a basic understanding about static and dynamic web pages.

By Sarthak Ganguly

A programming aficionado, Sarthak spends most of his time programming or computing. He has been programming since his sixth grade. Now he has two websites in his name and is busy writing two books. Apart from programming, he likes reading books, hanging out with friends, watching movies and planning wartime strategies.

Leave a Reply

Your email address will not be published. Required fields are marked *