A web page (or webpage) is a hypertext document on the World Wide Web. Web pages are delivered by a web server to the user and displayed in a web browser. A website consists of many web pages linked together under a common domain name. The name "web page" is a metaphor of paper pages bound together into a book.
The core element of a web page is a text file written in the Hypertext Markup Language (HTML) that describes the content of the web page and includes references to other web resources. A web page is a structured document that primarily consists of hypertext, text with hyperlinks. Hyperlinks point the user to other web resources, primarily other web pages, and to different sections of the same web page. Multimedia content on the web, such as images, videos, and other web pages, can be directly embedded in a web page to form a compound document.
Each web page is identified by a distinct Uniform Resource Locator (URL). When the user inputs the URL for a web page into their browser, the browser downloads an HTML file from a web server and transforms all of its elements into an interactive visual representation on the user's device.
If the user clicks, taps, or otherwise activates a hyperlink, the browser repeats this process to load the page pointed to by the hyperlink, which could be part of the current website or a different one. The browser has user interface features that indicate which page is displayed.
From the perspective of server-side website deployment, there are two types of web pages: static and dynamic. Static pages are retrieved from the web server's file system without any modification, while dynamic pages must be created by the server on the fly, typically reading from a database to fill out a template, before being sent to the user's browser.
- ^ "Web page - definition of web page by The Free Dictionary". Retrieved 23 April 2021.
- ^ "Introduction to WebAssembly 1.1". webassembly.github.io.
- ^ "Behind the scenes of modern web browsers". Tali Garsiel. Retrieved 2018-04-21.
- ^ Melendez, Steven (10 August 2018). "The Difference Between Dynamic & Static Web Pages". Chron. Archived from the original on 20 March 2019. Retrieved 20 March 2019.
Static by definition means something that does not change. The first pages on the World Wide Web were largely static and unchanged, delivering the same information about a particular topic to anyone who visited. In some cases, sites may evolve slightly over time but are still largely static, meaning that they only change when manually changed by their creators, not on a regular and automated basis.
- ^ "Definition of: dynamic Web page". PC Magazine. Archived from the original on 17 January 2017. Retrieved 20 March 2019.
A Web page that provides custom content for the user based on the results of a search or some other request.