HTML files are the main files that contain content (text and images) and markup that describes which elements will appear on the pages and in what order.
CSS files - used to style HTML pages, controlling the appearance and layout of elements. CSS allows you to set colors, fonts, indents, layout, and other stylistic features, making the site attractive.
JavaScript can be added to a static site for small interactive elements such as animations, sliders, drop-down menus, and pop-ups. However, on a static site, JavaScript does not access the server side or database and does not change the main content of the site.
Web server - used to host website files on the Internet. It processes bangladesh email list requests for files and returns them as HTML pages, CSS and JavaScript files to users. Typically, a web server simply delivers static content to the user without any additional processing.
How does a static website work?
When a user opens a static site, their browser sends a request to the web server. The server returns HTML files, CSS styles, and, if available, JavaScript files, which are processed by the browser and displayed to the user. All pages are always displayed in the same way, and the server simply returns the files without any interaction with the database or execution of server-side logic.