Introducton to Web Design Positioning Text

Opening Tag Closing Tag Description
<CENTER> </CENTER> Centers the text between the tags
<BLOCKQUOTE> </BLOCKQUOTE> Indents the text between the tags
<NOBR> </NOBR> Specifies that the browser should not word wrap the text within the tags.
<PRE> </PRE> Specifies that text should be displayed as pre-formatted text. This tag was not exactly meant to be used for positioning text, but it can be. In fact, many web designers have created some very nice ASCII art sites using this tag. Check out Crystal Water's Page for a great example.

<HTML>
<HEAD>
<TITLE>Text Positioning</TITLE>
</HEAD>
<BODY>

This is normal text
<CENTER>This is centered text</CETNER>
<BLOCKQUOTE>This is blockquoted text</BLOCKQUOTE>
<NOBR>This is <NOBR> text that will
not stop even when the browser wants to word wrap</NOBR>
</BODY>
</HTML>

Layout Resources

Previous Page | Next Page