On HTML documents the spacing will be set up automatically unless you specify otherwise. You are free to write your text with whatever spacing you want, but it will not necessarily be spaced that way when you view it through a browser. For example, there is an automatic one-space gap between words, which means that if you write text like this:
' There is automatic spacing for HTML documents'
then it will nevertheless look like this:
' There is automatic spacing for HTML documents'
However, there are some ways of controlling the spacing, which are described as follows.
You can produce a new line by typing <BR> (line BReak) after the appropriate text. For example:
Split this sentence<BR> with a line break.
gives
Split this sentence
with a line break.
You can introduce a paragraph break by typing <P> after the appropriate text. For example:
Split this sentence <P> with a paragraph break.
gives
Split this sentence
with a paragraph break.
Typing <HR> will produce a horizontal rule (a horizontal line) across a document, such the one above and below this section. The thickness of this can be varied by adding a SIZE qualifier. For example, the thicker line immediately below here was produced by the statement <HR SIZE=5> ! Cute isn't it ?!
Preformatted text is a piece of text whose spacing you wish to conserve. To do this you must wrap the appropriate text (and spaces) with <PRE> and </PRE>. For example:
<PRE> This is the spacing that I want.</PRE><P>
gives
This is the spacing that I want.
You ought to remember the following points:
Go To Previous Page
Go To Overview