Simple page formatting commands


Header lines

First some examples of header formats. The format is:
<H#>header text</H#>
where the "#" can be a number ranging from 1 through 6:

Extra Large Header Line

Large Header Line

Small Header Line

Smaller header line

Very small header line
Extremely Small Header Line

Centered header lines

You may also add parameters to the header command, for example to make a centered header line:
<H3 ALIGN="CENTER">Centered Header Line</H3>

Centered Header Line


Horizontal ruler

Below follows a horizontal ruler to seperate parts of text. The command for a horizontal ruler is:
<HR>
Note that this command has no ending part.


Line break and paragraph skip

The source text is put into one paragraph, also if you skip an extra line in the source text. To start on a new line, use the line break command:
<BR>
After the line break.

To start a new paragraph separated by a blank line, use:

<P>

Start of new paragraph.


Bold and italic

Bold text is displayed between:
<B> this text should be bold </B>

Italic text is displayed between:

<I> this text should be italic </I>

An example:
You may view the source text of this page by clicking the View button in the top menu row and clicking on the Page Source option of it.


Comments

Comments in the HTML source file are put between "<!--" and "-->" :
<!-- comment text -->

The text in a comment is not displayed on the screen by a browser. You may use it to clarify constructions in the source file.


Back to main page
Updated December 1, 1998, Peter Klok, pfk@hef.kun.nl