A static website is a website that displays content that is pre-built and fixed, and is displayed in a web browser exactly as it is stored on a web server. Static websites are sometimes called flat or stationary pages, or brochure sites because they provide similar information to a brochure.
Some characteristics of static websites include:
A single-page application (SPA) is a type of website that can be hosted as a static site. A static website is made up of fixed code that's stored on a server, and each page is a separate HTML file. When a user requests a page, the server sends the code back without making any changes. This means that the appearance of a static website is the same for every user, regardless of their settings, preferences, location, or time.
Here are some things to know about static websites:
A multi-page static website is a website that has multiple pages, each represented by a separate HTML file. Some examples of multi-page websites include Amazon, eBay, and Walmart.
Here are some things to know about static websites:
A dynamic website is a website that can change its content and interact with users based on a number of factors, like the user's actions, preferences, or the time of day. Dynamic websites are also known as database-driven sites.
Here are some features of dynamic websites:
Dynamic websites are more functional than static websites, which are made of fixed code and don't change unless the developer makes changes.