Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
World Wide Web
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Pages=== {{main|Web page}} [[File:Commons.png|thumb|A screenshot of the home page of Wikimedia Commons]] A ''web page'' (also written as ''webpage'') is a document that is suitable for the World Wide Web and [[web browser]]s. A web browser displays a web page on a [[computer display|monitor]] or [[mobile device]]. The term ''web page'' usually refers to what is visible, but may also refer to the contents of the [[computer file]] itself, which is usually a [[text file]] containing [[hypertext]] written in [[HTML]] or a comparable [[markup language]]. Typical web pages provide [[hypertext]] for browsing to other web pages via [[hyperlink]]s, often referred to as ''links''. Web browsers will frequently have to access multiple [[web resource]] elements, such as reading [[Cascading Style Sheets|style sheets]], [[client-side scripting|scripts]], and images, while presenting each web page. On a network, a web browser can retrieve a web page from a remote [[web server]]. The web server may restrict access to a private network such as a corporate intranet. The web browser uses the [[Hypertext Transfer Protocol]] (HTTP) to make such requests to the [[web server]]. A [[static web page|''static'' web page]] is delivered exactly as stored, as [[web content]] in the web server's [[file system]]. In contrast, a [[dynamic web page|''dynamic'' web page]] is generated by a [[web application]], usually driven by [[server-side scripting|server-side software]]. Dynamic web pages are used when each user may require completely different information, for example, bank websites, web email etc. ==== Static page ==== {{main|Static web page}} A ''static web page'' (sometimes called a ''flat page/stationary page'') is a [[web page]] that is delivered to the user exactly as stored, in contrast to [[dynamic web page]]s which are generated by a [[web application]]. Consequently, a static web page displays the same information for all users, from all contexts, subject to modern capabilities of a [[web server]] to [[content negotiation|negotiate]] [[MIME type|content-type]] or language of the document where such versions are available and the server is configured to do so. ==== Dynamic pages ==== {{Main|Dynamic web page|Ajax (programming)}} [[File:Scheme dynamic page en.svg|thumb|right|500px|Dynamic web page: example of server-side scripting ([[PHP]] and [[MySQL]])]] A ''server-side dynamic web page'' is a [[web page]] whose construction is controlled by an [[application server]] processing server-side scripts. In server-side scripting, [[Parameter (computer programming)|parameters]] determine how the assembly of every new web page proceeds, including the setting up of more client-side processing. A ''client-side dynamic web page'' processes the web page using JavaScript running in the browser. JavaScript programs can interact with the document via [[Document Object Model]], or DOM, to query page state and alter it. The same client-side techniques can then dynamically update or change the DOM in the same way. A dynamic web page is then reloaded by the user or by a [[computer program]] to change some variable content. The updating information could come from the server, or from changes made to that page's DOM. This may or may not truncate the browsing history or create a saved version to go back to, but a ''dynamic web page update'' using [[Ajax (programming)|Ajax]] technologies will neither create a page to go back to nor truncate the [[web browsing history]] forward of the displayed page. Using Ajax technologies the end [[User (computing)|user]] gets ''one dynamic page'' managed as a single page in the [[web browser]] while the actual [[web content]] rendered on that page can vary. The Ajax engine sits only on the browser requesting parts of its DOM, ''the'' DOM, for its client, from an application server. Dynamic HTML, or DHTML, is the umbrella term for technologies and methods used to create web pages that are not [[static web page]]s, though it has fallen out of common use since the popularization of [[Ajax (programming)|AJAX]], a term which is now itself rarely used.{{citation needed|date=March 2021}} Client-side-scripting, server-side scripting, or a combination of these make for the dynamic web experience in a browser. [[JavaScript]] is a [[scripting programming language|scripting language]] that was initially developed in 1995 by [[Brendan Eich]], then of [[Netscape]], for use within web pages.<ref name=Hamilton>{{cite web|author=Hamilton, Naomi|title=The A-Z of Programming Languages: JavaScript|url=http://computerworld.com.au/article/255293/-z_programming_languages_javascript|date=31 July 2008|work=Computerworld|publisher=IDG|access-date=12 May 2009|url-status=live|archive-url=https://web.archive.org/web/20090524025720/http://www.computerworld.com.au/article/255293/-z_programming_languages_javascript|archive-date=24 May 2009}}</ref> The standardised version is [[ECMAScript]].<ref name=Hamilton /> To make web pages more interactive, some web applications also use JavaScript techniques such as [[Ajax (programming)|Ajax]] ([[Asynchronous I/O|asynchronous]] JavaScript and [[XML]]). [[Client-side scripting|Client-side script]] is delivered with the page that can make additional HTTP requests to the server, either in response to user actions such as mouse movements or clicks, or based on elapsed time. The server's responses are used to modify the current page rather than creating a new page with each response, so the server needs only to provide limited, incremental information. Multiple Ajax requests can be handled at the same time, and users can interact with the page while data is retrieved. Web pages may also regularly [[polling (computer science)|poll]] the server to check whether new information is available.<ref>{{cite web|url=http://buntin.org/2008/sep/23/jquery-polling-plugin/|title=jQuery Polling plugin|date=23 September 2008|last=Buntin|first=Seth|access-date=22 August 2009|url-status=dead|archive-url=https://web.archive.org/web/20090813184848/http://buntin.org/2008/sep/23/jquery-polling-plugin/|archive-date=13 August 2009}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)