"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Web Development - Misc.

How to Indent Text on Both Sides


 

To indent text one tab-width (or one column) from both sides of the page, use the <BLOCKQUOTE> </BLOCKQUOTE> tags. As the name of the tag suggests, this is recommended when using large block quotes of text on a webpage.

Example:

<blockquote>Here is some indented text.</blockquote>
Now here is regular text.


This renders:

<html><blockquote>Here is some indented text.</blockquote>Now here is regular text.</html>



Print This Tip

Get E-Mail When New Tips are Online

Return to the Web Development - Misc. page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )