Back to Home Page Back to Main HTML Page


TEXT ALIGNMENT


Alignment, Line Breaks
HTML CODE APPEARANCE
This is how
You may type
Text in your page,
Without specifying breaks
This is how You may type Text in your page, Without specifying breaks
This is how<BR>
You may type<BR>
Text in your page,<BR>
When you DO specify breaks
This is how
You may type
Text in your page,
When you DO specify breaks
This is a bad paragraph.
This is another bad paragraph.
This is a third bad paragraph.
None of these used the paragraph code.
This is a bad paragraph. This is another bad paragraph. This is a third bad paragraph. None of these used the paragraph code.
<P>This is a good paragraph.</P>
<P>This is another good paragraph.</P>
<P>This is a third good paragraph.</P>
<P>These all used the paragraph code.</P>

This is a good paragraph.

This is another good paragraph.

This is a third good paragraph.

These all used the paragraph code.

Winnie the Pooh is a children's book written by A. A. Milne.<BR>
<BLOCKQUOTE>Here is Edward Bear, coming downstairs now, bump, bump, bump, on the back of his head, behind Christopher Robin. It is, as far as he knows, the only way of coming downstairs, but sometimes he feels that there really is another way, if only he could stop bumping for a moment and think of it.</BLOCKQUOTE>
Winnie the Pooh is a children's book written by A. A. Milne.
Here is Edward Bear, coming downstairs now, bump, bump, bump, on the back of his head, behind Christopher Robin. It is, as far as he knows, the only way of coming downstairs, but sometimes he feels that there really is another way, if only he could stop bumping for a moment and think of it.
<DIV ALIGN=left>This "division" of the page will automatically be aligned to the left side of the page, or to the left side of the area of the page where it is being shown (like in a table).</DIV>
This "division" of the page will automatically be aligned to the left side of the page, or to the left side of the area of the page where it is being shown (like in a table).
<DIV ALIGN=center>This "division" of the page will automatically be aligned to the center of the page, or to the center of the area of the page where it is being shown (like in a table).</DIV>
This "division" of the page will automatically be aligned to the center of the page, or to the center of the area of the page where it is being shown (like in a table).
<DIV ALIGN=right>This "division" of the page will automatically be aligned to the right side of the page, or to the right side of the area of the page where it is being shown (like in a table).</DIV>
This "division" of the page will automatically be aligned to the right side of the page, or to the right side of the area of the page where it is being shown (like in a table).
<DIV ALIGN=right>These parts will </DIV> <DIV ALIGN=center> align differently </DIV> <DIV ALIGN=left> relative to each </DIV> <DIV ALIGN=right> other. </DIV>
<DIV ALIGN=center>
<UL>
<LI>Apples
<LI>Oranges
</UL>
</DIV>
These parts will
align differently
relative to each
other.

  • Apples
  • Oranges
<PRE>
     This text is
what we call "pre-formatted."
This means that all of the spaces
	and tabs
and carriage returns
that you type are kept in
the final document.
Note that they are displayed in a
	"monotype" font, or
one that has all its letters
equally spaced.
</PRE>
     This text is
what we call "pre-formatted."
This means that all of the spaces
	and tabs
and carriage returns
that you type are kept in
the final document.
Note that they are displayed in a
	"monotype" font, or
one that has all its letters
equally spaced.
&nbsp; &nbsp; &nbsp; & nbsp; &nbsp; You can indent text using the "non-breaking space" tag. Note that it is NOT in brackets. HTML automatically ignores spaces and carriage returns - it assumes that you only ever want to use one space at a time, unless you specifically tell it otherwise.<BR>
&nbsp; &nbsp; &nbsp; & nbsp; &nbsp;The way to do that is with that code.
      You can indent text using the "non-breaking space" tag. Note that it is NOT in brackets. HTML automatically ignores spaces and carriage returns - it assumes that you only ever want to use one space at a time, unless you specifically tell it otherwise.
     The way to do that is with that code.
<!-- Anything you type in between these brackets will NOT be displayed as part of your HTML page, but people who read the code will be able to see what it says.-->
<NOBR>By using the "no breaks" code, you theoretically can guarantee that your text will not wrap at any point.</NOBR> <NOBR>If you'd like <WBR>to SUGGEST break points, <WBR>you can use <WBR>the soft break code.</NOBR> By using the "no breaks" code, you theoretically can guarantee that your text will not wrap at any point. If you'd like to SUGGEST break points, you can use the soft break code.


Back to Top of Page Back to Main HTML Page Back to Home Page

Last Updated: