Web page: Difference between revisions

3,291 bytes added ,  3 months ago
m
Reverted 3 edits by 208.64.35.35 (talk) to last revision by ZimZalaBim
(nope)
Tags: section blanking Reverted
m (Reverted 3 edits by 208.64.35.35 (talk) to last revision by ZimZalaBim)
 
A '''web page''' (or '''webpage''') is a specific collection of information provided by a [[website]] and displayed to a [[user (computing)|user]] in a [[web browser]]. A website typically consists of many web pages [[hyperlink|linked]] together in a coherent fashion. The name "web page" is a metaphor of [[Page (paper)|paper pages]] bound together into a [[book]].
 
==Elements==
 
The core element of a web page is one or more [[text file]]s written in the [[HTML|Hypertext Markup Language]] (HTML).<ref name="elems"/> Many web pages also make use of [[JavaScript]] [[source code|code]] for [[JavaScript#Website client-side usage|dynamic behavior]] and [[Cascading Style Sheets]] (CSS) code for [[presentation semantics]].<ref name="elems">{{cite book|last1=Flanagan|first1=David|title=JavaScript - The definitive guide|page=1|edition=6|quote=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.}}</ref> [[Image]]s, [[video]]s, and other [[multimedia]] files are also often embedded in web pages.
 
== Navigation==
 
Each web page is identified by a distinct [[URL|Uniform Resource Locator]] (URL). When the user inputs a URL into their browser, that page's elements are downloaded from [[web server]]s. The browser then [[browser engine|transforms]] all of the elements into an interactive visual representation on the user's device.<ref>{{cite web|url=http://taligarsiel.com/Projects/howbrowserswork1.htm|title=Behind the scenes of modern web browsers|publisher=Tali Garsiel|accessdate=2018-04-21}}</ref>
 
If the user [[point and click|clicks]] or [[touchscreen|taps]] a [[hyperlink|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 web page|static]] and [[dynamic web page|dynamic]]. Static pages are retrieved from the web server's [[file system]] without any modification,<ref>{{cite web|url=https://smallbusiness.chron.com/difference-between-dynamic-static-pages-69951.html|title=The Difference Between Dynamic & Static Web Pages|last=Melendez|first=Steven|date=2018-08-10|website=Chron|format=html|archive-url=https://web.archive.org/web/20190320233700/https://smallbusiness.chron.com/difference-between-dynamic-static-pages-69951.html|archive-date=2019-03-20|access-date=2019-03-20|quote=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.|df=dmy-all}} </ref> while dynamic pages must be created by the web server [[wikt:on the fly|on the fly]], typically drawing from a [[database]] to fill out a [[web template]], before being sent to the user's browser.<ref>{{cite web|url=https://www.pcmag.com/encyclopedia/term/42199/dynamic-web-page|title=Definition of: dynamic Web page|website=[[PC Magazine]]|format=html|archive-url=https://web.archive.org/web/20170117040526/https://www.pcmag.com/encyclopedia/term/42199/dynamic-web-page|archive-date=2017-01-17|access-date=2019-03-20|quote=A Web page that provides custom content for the user based on the results of a search or some other request.|df=dmy-all}}</ref>
 
== References ==