Websites are typically dedicated to a particular topic or purpose, such as news, education, commerce, entertainment, or social media.
The World Wide Web (WWW) was created in 1989 by the British CERN computer scientist Tim Berners-Lee.
[6] After reaching 1 billion websites in September 2014, a milestone confirmed by Netcraft in its October 2014 Web Server Survey and that Internet Live Stats was the first to announce—as attested by this tweet from the inventor of the World Wide Web himself, Tim Berners-Lee—the number of websites in the world have subsequently declined, reverting to a level below 1 billion.
Similar to handing out a printed brochure to customers or clients, a static website will generally provide consistent, standard information for an extended period of time.
Static websites may still use server side includes (SSI) as an editing convenience, such as sharing a common menu bar across many pages.
Server-side dynamic pages are generated "on the fly" by computer code that produces the HTML (CSS are responsible for appearance and thus, are static files).
Dynamic sites can be interactive by using HTML forms, storing and reading back browser cookies, or by creating a series of pages that reflect the previous history of clicks.
Another example of dynamic content is when a retail website with a database of media products allows a user to input a search request, e.g. for the keyword Beatles.
In response, the content of the Web page will spontaneously change the way it looked before, and will then display a list of Beatles products like CDs, DVDs, and books.
Dynamic HTML uses JavaScript code to instruct the Web browser how to interactively modify the page contents.
[10] A 2010-era trend in websites called "responsive design" has given the best viewing experience as it provides a device-based layout for users.