Webpages are the files that make up the World Wide Web. An individual webpage is a text document written in HTML (hypertext markup language). When a web browser displays a webpage, it translates the markup language into readable content. Webpages are hosted on a web server, and the collection of webpages hosted on the same domain name make up a website.

An individual webpage consists of several different elements. In addition to the HTML file itself, most webpages include a cascading style sheet (CSS) that controls how text, tables, and other elements are formatted. Style sheets may be embedded in the webpage's HTML file, or stored as a separate file on the web server. Images, video, and audio that appear on a webpage are also separate files on the web server, and are loaded with the webpage when you visit it.

A typical webpage consists of an HTML file, style sheet, images, and other resources
A typical webpage consists of an HTML file, style sheet, images, and other resources

A webpage can be either static or dynamic. Static pages show the same content each time they are viewed and are saved on the web server as HTML files. Dynamic pages are instead generated on demand whenever a browser requests them. These pages are typically written in scripting languages such as PHP, Perl, ASP, or JSP. The scripts in the pages run functions on the server and return the results of those functions, like displaying some information from a database. The server returns the requested information as HTML code, so when the page gets to your browser, it can translate and display the HTML.

Updated February 16, 2023 by Brian P.

quizTest Your Knowledge

Making fun of someone online is a type of what?

Correct! Incorrect!     View the Cyberbullying definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Webpage on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.