
Web Development - Misc.
How to Indent Text
There are several ways of handling indentation of text. With this method, you can indent some text from the left-hand side by a tab-width.
To indent text, use the <DL> </DL> tags to signify what is called a definition list. Inside this definition list, use the <DD> tag indents text by a column.
Just insert this code as a new webpage to see an example of this indentation.
<HTML>
<HEAD>
<TITLE>Indentation Text</TITLE>
</HEAD>
<BODY>
<P>
Normal text.
<DL>
<DD>
This text is indented.
</DD>
</DL>
<P>
Normal Text
<P>
</BODY>
</HTML>
Normal Text
- This text is indented.
Return to the Web Development - Misc. page.
Thanks For Sharing!
Newest Tips:
Microsoft Word 2010 Make Sure Others Can See Your Fonts
Microsoft PowerPoint 2010 Animations or Video Displaying Poorly?
Google Chrome [MODIFIED] Report a Malfunctioning Web Page, Crash, or Other Issue
Google Gmail Show Unread Message Count as an Icon
Follow Us!
Email Twitter RSSAbout MalekTips and the Author
The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download. < more >
![[Home]](http://malektips2.com/graphics/logo-small.png)