A static web page is a web page that is delivered to the user exactly as stored, in contrast to dynamic web pages which are generated by a web application.
Static websites are the website’s whose content (text or images or code) can only be changed with the help of web designer or developer. If you are not going to require regular updates on your website then static websites are for you.
Difference between static and dynamic website by Elizabeth Potts:
Static and dynamic web pages by David Gassner:
A static web page displays the same information for all users, from all contexts, subject to modern capabilities of a web server to negotiate content-type or language of the document where such versions are available and the server is configured to do so.
Static web pages are often HTML documents stored as files in the file system and made available by the web server over HTTP (nevertheless URLs ending with “.html” are not always static). However, loose interpretations of the term could include web pages stored in a database, and could even include pages formatted using a template and served through an application server, as long as the page served is unchanging and presented essentially as stored.
Static web pages are suitable for the contents that never or rarely need to be updated. However, maintaining large numbers of static pages as files can be impractical without automated tools. Any personalization or interactivity has to run client-side, which is restricting.
Advantages and disadvantages of static web pages
Advantages of static website:
- quick and easy to develop;
- cheap to develop;
- cheap to host;
- cost effective.
Disadvantages of static website:
- requires web development expertise to update site;
- content can get stagnant;
- functionalities will be limited.