AN INTRODUCTION TO HTML

FORMATTING TEXT

<P> Start a Paragraph

Within a paragraph, extra blanks and carriage returns in the text will be ignored when viewed by a Web browser.

If you change the size of the display window, the contents of each paragraph will be restructured by the Web browser to conform to the new window shape.

Source:

    <P>Within a paragraph,       extra               blanks 
    and carriage returns in the text 

    will be 

    ignored when viewed by a Web browser.

    <P>If you change the size of the display window, the contents
    of each paragraph will be restructured by the Web browser to 
    conform to the new window shape.

<BR> Line Break

If one wishes to force an early line break, a <BR> can be inserted in the text.


<HR> Horizontal Ruler

<HR> draws a horizontal line across the screen. <HR> has been used throughout this document to draw the section separation lines.


<PRE>, </PRE> Pre-formatted Text

As previously stated, HTML is not a WYSIWYG text markup language. The closest one can get to WYSIWYG within HTML is <PRE> which creates a "pre-formatted" text region. <PRE> uses a fixed width font and preserves all "extra" blanks and carriage returns.

Resizing the browser window does not affect the structure of a "pre-formatted" text region. Therefore, there is the possibility that a "pre-formatted" region may not be totally visible.

Source:

	<PRE>
		This is a test


		of the      &lt;PRE&gt;       tag.
	</PRE>

Output:

		This is a test


		of the      <PRE>       tag.

[ TOC | BACK | NEXT ]
Updated: Nov 25, 1995