Html document structure, 5web page construction – ProSoft Technology 5201-104S-103M User Manual

Page 17

Advertising
background image

Web Page Construction

Web Server

ProSoft Technology, Inc.

Page 17 of 35

September 28, 2005

5

Web Page Construction

The WEB driver in the module provides the facility to generate Web pages to a
remote browser on the network using the http service port 80. Several Web
pages are built into the software and require no special handling. You can
construct custom Web pages to be generated by the program. These custom
pages can contain data from the virtual database, images (static and dynamic)
and text (static and dynamic). The following steps should be followed to use this
feature:

1

Use any standard Web page authoring tool or word processor that can

generate a standard HTML file for use with an http server.

2

Download these files to the C:\ directory on the module using the FTP server.

3

Test the download files using your Web browser.

The only limit on the number of Web pages that can be generated is based on
the amount of available free space (typically 8MB). The program limits the size of
any file to be transferred by the http server to a maximum size of 8MB.

In order to include dynamic data from the module into the Web pages, insertion
tags are defined for use by the program. These tags can be placed anywhere in
the constructed HTML Web page. When these tags are recognized by the
module's program while reading in the HTML file to be transferred, the program
will insert the requested data. The following data types can be inserted into the
Web pages: date, time, virtual database values, images selected by the state of a
binary value and text strings selected by the state of a binary value. Each special
insertion tag is discussed in detail in the 'Web Page Construction for HTTP
Servers' document available off the ftp site.

5.1

HTML Document Structure

An HTML document is a structured file whose content is used by a browser to
display a Web page. The basic components of all HTML files are shown below:

<!DOCTYPE>

<HTML>

<HEAD>

</HEAD>

<BODY>

...Web page content goes here

</BODY>

</HTML>

This basic structure is automatically built by all Web page authoring tools
including such tools as Microsoft Word (save your word document file as an
HTML file).

Advertising