Static Web Page
A static web page is a type of web page that is delivered to the user's web browser exactly as stored, in contrast to dynamic web pages which are generated upon request. Static pages are the simplest form of web pages and are fundamental in the field of web development.
Static web pages are typically composed of HTML, CSS, and sometimes JavaScript. These pages do not change content or layout unless manually edited by a web developer. As a result, static pages are often considered more straightforward and easier to develop compared to dynamic pages. They are stored on a web server and sent to the client without modification.
Static web pages are typically used in contexts where content does not need to be updated frequently. They are ideal for personal websites, brochure sites, and portfolio websites.
In modern web development, static web pages can be part of a larger web application ecosystem. They are often generated using static site generators like Jekyll, Hugo, and Gatsby. These tools convert content written in Markdown or other formats into static pages.
A web template system is used to manage static content while allowing dynamic elements based on web request parameters. This bridges the gap between static and dynamic web development, providing a way to reuse static elements across multiple pages.
Hydration is a technique in web development where client-side JavaScript converts a static web page into a dynamic one after it is loaded, making it interactive and capable of updating without a full page reload.
Static web pages are easy to host. They can be deployed on any web hosting service that supports basic HTTP file serving. These files can be uploaded through File Transfer Protocol (FTP) or other web interfaces, and they are delivered to users "as is" from the server.