<P> The primary function of a web server is to store, process and deliver web pages to clients . The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). Pages delivered are most frequently HTML documents, which may include images, style sheets and scripts in addition to text content . </P> <P> A user agent, commonly a web browser or web crawler, initiates communication by making a request for a specific resource using HTTP and the server responds with the content of that resource or an error message if unable to do so . The resource is typically a real file on the server's secondary storage, but this is not necessarily the case and depends on how the web server is implemented . </P> <P> While the primary function is to serve content, a full implementation of HTTP also includes ways of receiving content from clients . This feature is used for submitting web forms, including uploading of files . </P> <P> Many generic web servers also support server - side scripting using Active Server Pages (ASP), PHP, or other scripting languages . This means that the behaviour of the web server can be scripted in separate files, while the actual server software remains unchanged . Usually, this function is used to generate HTML documents dynamically ("on - the - fly") as opposed to returning static documents . The former is primarily used for retrieving or modifying information from databases . The latter is typically much faster and more easily cached but cannot deliver dynamic content . </P>

Which protocol is used by web servers to serve up a web page