Web document is a similar concept to web page, except it is a broader term with the following distinctions:
| Web page | Web document | |||
| Transfer protocol | HTTP or HTTPS protocols. | HTTP(S) or any other Internet communication protocol. | ||
| Document format | (X)HTML | (X)HTML or any other type of valid MIME Content-Type, like an ISO OpenDocument. | ||
| Context | Page. | Page, e-mail attachment, or many other kinds of client applications. | ||
| Viewer | Browser. | Browser or a MIME-compatible application. |
Contents |
A PDF document requested from SFTP or SMTP protocols, for example, is a web document, but not a web page.
The web document distinction emphasizes the fact that not all content generated by a web template system, web service, and other related systems represents output as a web page.
The e-mail protocols predate the Web protocols, but are not a subset, they constitute distinct Internet services. E-mail documents may be HTML documents, and may be viewed into a e-mail client or through a webmail (or Internet forum) as a web page. A lot of web applications deal with web page bodies and e-mail bodies indistinctly. Web applications deal with web pages, but also with many other formats and protocols.
From a long-term perspective, the increasing prevalence of XML may eliminate the need for this kind of distinction.
For example:
Under such trends, the concept of web document becomes more uniform as more file types become expressible as different dialects of XML.
Another extended (derived) concept is dynamic web document, like documents generated from template engines or web services. Dynamic web page is a specific case of dynamic web document. Common Gateway Interface(CGI)is a concept used to create dynamic web documents.
|
Related concepts: |
XML trends: |
|
||||||||||||||
|
|