Preface

This document is part of the Campcaster project, Copyright © 2004 Media Development Loan Fund, under the GNU GPL.

Scope

This document describes the HTML file conventions for the Campcaster project. See also the generic description of the file conventions in the Campcaster project.

Introduction

HTML pages written as part of the Campcaster documentation should conform to either the HTML 4.01 Transitional or XHTML 1.0 Transitional specifications.

Naming

HTML document files are named by the following rules:
For example, a file with a single-word name may be named like: single.html, whereas a file with multiple word name would be like: multipleWordNameFile.html.

Structure

Each HTML file is partitioned by using the <h1> element to mark the start and name of each partition. The file has the following mandatory structure:

HTML header

The HTML header of the document should describe the title and author of the document. The following HTML code should be inside the <head> element for the HTML page:

    <title>The title of the file</title>
<meta name="author" content="$Author: paul $"/>

The Preface section

This section holds the following specific text:

This document is part of the Campcaster project, Copyright © 2004 Media Development Loan Fund, under the GNU GPL.

The Scope section

This section describes the scope of the document in short form. This details the areas which the document covers, and sometimes holds references to related documents.

The Introductions section

This optional section introduces the topic of the document to the reader.

Additional sections

These section hold the real content of the document, with freely named sections and sub-sections. The normal HTML heading elements (<h1>, <h2>, …) should be used to mark and group the sections. Sample source code included in the HTML document should be put inside a <pre><code>...</code></pre> block, like the following:

    // some sample code here
int i = 1;

Template

See a generic template for HTML documents. You may freely copy this template when starting to create a new document.