Section 30
MORE ABOUT FORMATTING TEXT using <PRE> and <BLOCKQUOTE>
     Although I was not planning to get into the more advanced HTML code
for Formatting text, I thought you might want to know a bit more about how
I put together the On-Line version of this Tutorial/Addendum.  So here are
a few more items you may find usefull:
     A large amount of the On-Line version of this HTML Tutorial/Addendum
was displayed using the <PRE> and </PRE> tags.  The <PRE> tag is used to
display a block of PRE-formatted text in fixed-width type.  You need to
use a </PRE> tag to turn it off again.  This allows you to paste a piece
of plain ASCII text (that you may have already edited the format of) into
an HTML Document.  Then, just add <PRE> before it, and </PRE> after it.
Unfortunately, since this forces the web browser to display the marked
section of text in fixed-width type, the user may also have to scroll
sideways to view all of it.  PRE may also produce a line Break (or
blank line).
     The <BLOCKQUOTE> tag is used to Indent text for an entire block.
You need to use a </BLOCKQUOTE> tag to turn it off again.  With some
web browsers you can even nest more <BLOCKQUOTE> and </BLOCKQUOTE>
tags to further Indent more sections of your text (but, this may not work
with all web browsers).  Many web browsers indent both the left and right
margins when you use <BLOCKQUOTE>.  Also, items marked with the <Hn>
and/or the <HR> tags may (or may not) be indented depending on just what
web browser is being used to view the document.  I recommend using this
one only around plain text because you won't know exactly how other
embedded HTML tags will work inside the section(s) marked with Blockquote.
     Be forwarned, if you do nest Blockquoted sections, you must be
absolutely sure to close out each <BLOCKQUOTE> with a </BLOCKQUOTE> tag
in exactly the reverse order you started with because some browsers will
crash if they try to un-indent a paragraph that wasn't indented in the
first place.  Blockquote may also produce a line Break (or blank line).
     For those that may want to try this, here is an example:
<BLOCKQUOTE>First Indented Text
<BLOCKQUOTE>Second Indented Text
<BLOCKQUOTE>Third Indented Text
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
     And here is how the above looks with your current web browser:
First Indented Text
Second Indented Text
Third Indented Text

     You should also be forwarned that there may be problems if you try
to use the "<" and ">" symbols, or even the quotation marks themselves,
(and possibly several others) since HTML uses them in its tag markers.
You can use these special character codes (anywhere in an HTML document)
to replace those symbols instead:
For the Quotation marks "      use:  &#34;  or  &quot;
For the Less than symbol <     use:  &#60;  or  &lt;
For the Greater than symbol >  use:  &#62;  or  &gt;
For No-Breaking-Space (blanks) use:  &nbsp;
For the And symbol &           use:  &#38;  or  &amp;
For the Copyright symbol ©     use;  &#169; or  &copy;
     I will not include all of the other special character codes here,
but you can find them easily enough from other sources on the internet.
     As I have already (repeatedly) pointed out, you just can not make
an HTML document look exacty the way you want it to because different web
browsers/software do things differently.  So if these do not work 
correctly for you, I'm really sorry.
     I took a chance with these web pages because I think (by now anyway)
almost everybody is running some form of Windows and Internet Explorer
(or one of the newer versions of Netscape) and my On-Line version should
work out nicely this way.  With all the possible problems mentioned above
you can see why I didn't mention these last HTML tags earlier, right?
[Previous Section] [Table of Contents] [Addendum] [Milt's Micro Digest Home Page] [Next Section]
The names Microsoft, Internet Explorer, Netscape, and others used in this document
are Trademarks, or Registered Trademarks of the companies represented.
E-mail questions, comments, or suggestions to: miltst@hotmail.com
© 1999 miltst@hotmail.com

Counter
(This page was last modified on: Monday, February 08, 1999)
1