Web - Document


A document is the name of a message sends over HTTP. It's the data unit for the web. A document moves on the internet and is understand by the web client (browser mainly).

When you serve a file via a web server, it's wrapped inside an http request and becomes a document.

Documents on the web have generally by nature a hierarchical nature.

This is generally a HTML document but it can be also other type of document such as:

This document (file) can be rendered by the user agent (Generally a browser)

The term document in a file system is generally a file including its structure and format, e.g. fonts, colors, and images.


The encoding language of the source document (e.g., HTML, XHTML, or SVG).

See Resource - (Mime|Media) Type


Powered by ComboStrap