Web page

Print Print
Reading time 3:43

The home page of a website displayed in a web browser

A web page (or webpage) is a hypertext document provided by a website and displayed to a user in a web browser.[1] A website typically consists of many web pages linked together in a coherent fashion. The name "web page" is a metaphor of paper pages bound together into a book.

Elements

The core element of a web page is one or more text files written in the Hypertext Markup Language (HTML).[2] Many web pages also make use of JavaScript code for dynamic behavior and Cascading Style Sheets (CSS) code for presentation semantics.[2]WebAssembly executables can also be used for portions of page behavior.[3]Images, videos, and other multimedia files are often embedded in web pages.

Navigation

Each web page is identified by a distinct Uniform Resource Locator (URL). When the user inputs a URL into their browser, that page's elements are downloaded from web servers. The browser then transforms all of the elements into an interactive visual representation on the user's device.[4]

If the user clicks or taps a link to another page, the browser repeats this process to display the new page, which could be part of the current website or a different one.

Deployment

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,[5] 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.[6]

References

  1. ^ "Web page - definition of web page by The Free Dictionary". Retrieved 23 April 2021.
  2. ^ a b Flanagan, David. JavaScript - The definitive guide (6 ed.). p. 1. JavaScript is part of the triad of technologies that all Web developers must learn: HTML to specify the content of web pages, CSS to specify the presentation of web pages and JavaScript to specify the behaviour of web pages.
  3. ^ "Introduction to WebAssembly 1.1". webassembly.github.io.
  4. ^ "Behind the scenes of modern web browsers". Tali Garsiel. Retrieved 2018-04-21.
  5. ^ 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.
  6. ^ "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.

By: Wikipedia.org
Edited: 2021-06-18 11:02:37
Source: Wikipedia.org