User:Waqasibrahim
![](http://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Webpage.png/350px-Webpage.png)
A web page or webpage is a resource of information that is suitable for the World Wide Web and can be accessed through a web browser. This information is usually in HTML or XHTML format, and may provide navigation to other web pages via hypertext links.
Web pages may be stored on a local computer or on a remote
Web pages may consist of files of static text within the
Filename WAQAS
Static web pages usually have the
Colour, typography, illustration and interaction
Web pages usually include instructions as to the colours of text and backgrounds and very often also contain links to images and sometimes other media to be included in the final view.
Layout, typographic and colour-scheme information is provided by
Images are stored on the web server as separate files, but again HTTP allows for the fact that once a web page is downloaded to a browser, it is quite likely that related files such as images and stylesheets will be requested as it is processed. An HTTP 1.1 web server will maintain a connection with the browser until all related resources have been requested and provided. Browsers usually render images along with the text and other material on the displayed web page.
Multimedia
Other media such as sound or video files may also be embedded within web pages, as part of the page or via hyperlinks. Games, animations and other computer-generated material can also be embedded using technologies such as Adobe Flash and Java applets. All of these depend on the client browser's ability to handle the material, and upon the client user's desire and ability to enable (when not enabled by default) these features on their machine.
Dynamic behaviour
Client-side computer code such as JavaScript or code implementing Ajax techniques can be provided either embedded in the HTML of a web page or, like CSS stylesheets, as separate, linked downloads specified in the HTML (using for example .js
file extensions for JavaScript files). These scripts may run on the client computer, if the user allows them to, and can provide a degree of interactivity between the web page and the user after the page has downloaded.
Browsers
A
Users
The World Wide Web Consortium (W3C) and Web Accessibility Initiative (WAI) recommend that all web pages should be designed with all of these options in mind.
Elements of a web page
A website can contain content which is able to be seen or heard by the
- Text
- Graphics, typically GIF, JPEG or PNG formats
- Audio, typically MIDI or WAV formats or Java applets
- Macromedia Flash
- Macromedia Shockwave
- SVG
- Hyperlinks
A website can also contain content which is interpreted differently dependant upon the rendering browser and is typically not shown to the end user. These elements include, but are not limited to:
- Scripts, usually JavaScript
- Meta tags
- Cascading Style Sheets(CSS)
- Comments
Rendering
Web pages will often require more screen space than is available for a particular
A web page can either be a single HTML file, or made up of several HTML files represented using
When web pages are stored in a common
When creating a web page, it is important to ensure it conforms to the World Wide Web Consortium (W3C) standards for HTML, CSS, XML and other standards. The W3C standards are in place to ensure all browsers which conform to their standards can display identical content without any special consideration for properitary rendering techniques. A properly coded web page is going to be accessible to many different browers old and new alike, display resolutions, as well as those users with audio or visual impairments.
URL
Typically, web pages today are becoming more dynamic. A dynamic web page is one that is created server-side when it is requested, and then served to the end-user. These types of web pages typically do not have a permalink, or a static URL, associated with them. Today, this can be seen in many popular forums, online shopping, and even on Wikipedia. This practice is intended to reduce the amount of static pages in lieu of storing the relevant web page information in a database. Some search engines may have a hard time indexing a web page that is dynamic, so static web pages can be provided in those instances.
Viewing a web page
In order to view a web page, a web browser is needed. This is a type of software that can retrieve web pages from the Internet. During the initial creation of a web page, before it is uploaded to the web server, any text editor can view it. Viewing a web page in a text editior will display the source code, not the final product.
Creating a web page
To create a web page, a
The design of a web page is highly personal. A design can be made according to ones own preference, or a pre-made
Other ways of making a web page is to download specialized software, like a
Saving a web page
A local copy of a web page may be saved to one's computer, as long as no copyright laws are violated. Most GUI browsers will contain all the options for saving a web page. These include, but are not limited to:
- Saving the rendered text without formatting or images - Hyperlinks are not identified, but displayed as plain text
- Saving the HTML file as it was served - Overall structure will be preserved, although some links may be broken
- Saving the HTML file and changing relative links to absolute ones - Hyperlinks will be preserved
- Saving the entire web page - All images will be saved, as well as links being changed to absolute
- Saving the HTML file including all images, stylesheets and scripts into a single MHTML file. This is supported by Internet Explorer, Mozilla and Mozilla Firefox. Mozilla and Mozilla Firefox only support this if the MAF plugin has been installed. An MHTML file is based upon the MHTML standard.
Common web browsers, like Mozilla, Mozilla Firefox and Internet Explorer, give the option to not only print the currently viewed web page to a printer, but optionally "print" to a file which can later be viewed or printed. This has an advantage in that some web pages are specially designed using CSS or a separately generated page to show both the text and target destination of links contained within the web page.
See also
- Dead link
- Domain name
- Guestbook
- Home page
- HTML element
- Web template