toggle
Advertisement
Home arrow Design Tips
Design Tips Print E-mail
Written by Jeff and David   
Wednesday, 29 August 2007
Courtesy of Web-Source.net

Indenting Text Within a Web Page

The <blockquote> tag will enable you to indent your text from the left and right margins within your web page. However, it won't enable you to indent your text from just one side.

If you would like to indent your text from the left margin only, you can use the <UL> tag (the same tag you would use to create a bulleted list). The only difference is that you won't use the <LI> tags with it. Your text will be indented just as a bulleted list is, but there won't be any bullets.
This example is displayed using the <UL> tag without the <LI> tags. Notice how the text is indented from the left margin.

<UL>
Place your text between the <UL> and </UL tags without the <LI> tags.
</UL>

 

Copyright © Shelley Lowery

Web Design Tips is an excerpt from the acclaimed Web Design Mastery web site design course - Professional Web Site Design Made Easy - with hundreds of copy & paste codes. Visit the Web Design Mastery site to download your free chapters (77 pages)... Get over 150 professionally designed web site templates free with your purchase of Web Design Mastery. Click here to get started designing your new site now.

Content Provided By:

Last Updated ( Wednesday, 29 August 2007 )
 
< Prev   Next >