What is a Dynamic Website?
- Compared to static websites, which are purely informational, a dynamic website is more functional.
- It allows users to interact with the information that is listed on the page. Of course, that requires utilizing more than just HTML code.
- Static websites use only client-side HTML and CSS code while dynamic websites rely on both client-side and server-side scripting languages such as JavaScript, PHP, or ASP.
- When a user accesses a dynamic website, the site can be changed through code that is run in the browser and/or on the server.
- The end result is the same as that in a static website: an HTML page displayed on the web browser.
- To generate dynamic content, such websites use a combination of server-side and client-side scripting.
- Client-side scripting refers to code that is executed by the browser, usually with JavaScript.Meanwhile, server-side scripting refers to code that is executed by the server(before the content is sent to the user’s browser).