A web page (or webpage) is a
Web
Web most often refers to:
* Spider web, a silken structure created by the animal
* World Wide Web or the Web, an Internet-based hypertext system
Web, WEB, or the Web may also refer to:
Computing
* WEB, a literate programming system created by ...
document that is accessed in a
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
.
A
website
A website (also written as a web site) is any web page whose content is identified by a common domain name and is published on at least one web server. Websites are typically dedicated to a particular topic or purpose, such as news, educatio ...
typically consists of many web pages
linked together under a common
domain name
In the Internet, a domain name is a string that identifies a realm of administrative autonomy, authority, or control. Domain names are often used to identify services provided through the Internet, such as websites, email services, and more. ...
. The term "web page" is therefore a
metaphor
A metaphor is a figure of speech that, for rhetorical effect, directly refers to one thing by mentioning another. It may provide, or obscure, clarity or identify hidden similarities between two different ideas. Metaphors are usually meant to cr ...
of paper pages bound together into a book.
Navigation

Each web page is identified by a distinct
Uniform Resource Locator
A uniform resource locator (URL), colloquially known as an address on the World Wide Web, Web, is a reference to a web resource, resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific t ...
(URL). When the user inputs a URL into their
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
, the browser retrieves the necessary content from a
web server
A web server is computer software and underlying Computer hardware, hardware that accepts requests via Hypertext Transfer Protocol, HTTP (the network protocol created to distribute web content) or its secure variant HTTPS. A user agent, co ...
and then
transforms it into an interactive visual representation on the user's screen.
If the user
clicks or
taps a
link, the browser repeats this process to load the new URL, which could be part of the current website or a different one. The browser has
features, such as the
address bar
In a web browser, the address bar (also location bar or URL bar) is the element that shows the current URL. The user can type a URL into it to navigate to a chosen website. In most modern browsers, non-URLs are automatically sent to a search eng ...
, that indicate which page is displayed.
Elements
A web page is a
structured document. The core element is a
text file
A text file (sometimes spelled textfile; an old alternative name is flat file) is a kind of computer file that is structured as a sequence of lines of electronic text. A text file exists stored as data within a computer file system.
In ope ...
written in the
HyperText Markup Language
Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheet ...
(HTML). This specifies the content of the page,
including
image
An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
s and
video
Video is an Electronics, electronic medium for the recording, copying, playback, broadcasting, and display of moving picture, moving image, visual Media (communication), media. Video was first developed for mechanical television systems, whi ...
.
Cascading Style Sheets (CSS) specify the
presentation
A presentation conveys information from a speaker to an audience. Presentations are typically demonstrations, introduction, lecture, or speech meant to inform, persuade, inspire, motivate, build goodwill, or present a new idea/product. Presenta ...
of the page.
CSS rules can be in separate text files or embedded within the HTML file.
The vast majority of pages have
JavaScript
JavaScript (), often abbreviated as JS, is a programming language and core technology of the World Wide Web, alongside HTML and CSS. Ninety-nine percent of websites use JavaScript on the client side for webpage behavior.
Web browsers have ...
programs, enabling a
wide range of behavior.
The newer
WebAssembly
WebAssembly (Wasm) defines a portable binary-code format and a corresponding text format for executable programs as well as software interfaces for facilitating communication between such programs and their host environment.
The main goal of ...
language can also be used as a
supplement.
The most sophisticated web pages, known as
web apps, combine these elements in a
complex manner.
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, while dynamic pages must be created by the server
on the fly, typically reading from a
database
In computing, a database is an organized collection of data or a type of data store based on the use of a database management system (DBMS), the software that interacts with end users, applications, and the database itself to capture and a ...
to fill out a
template, before being sent to the user's browser.
An example of a dynamic page is a
search engine results page.
See also
*
Single-page application
*
Progressive web app
A progressive web application (PWA), or progressive web app, is a type of web app that can be installed on a device as a standalone application software, application. PWAs are installed using the offline cache of the device's web browser.
PWAs w ...
*
Web Components
References
{{DEFAULTSORT:Web Page
Web design
Website management