How do I indent a lot of text?



How do I indent a lot of text?..

Answer / guest

Again, there is no reliable way to do this. Netscape will
indent text inside a <BLOCKQUOTE>, but other browsers don't
have to do this. These could show the text in italics, or
perhaps with quotation marks around the text. This could
come out very strange.

An alternative is to use <DL> without <DT> and <DD>, which
is invalid HTML, but several browsers work around this error
by indenting the text inside it. This is not guaranteed to
work.

If you are willing to use tables for layout purposes, there
is another option. Create a one-cell table, as follows:

<CENTER>

<TABLE width="805px">

<TR><TD><DIV align=left>

<!-- The text goes here -->

</DIV>

</TD></TR>

</TABLE>

</CENTER>

A drawback to this solution is that very long blocks inside
a table may take a while to download and may not appear
until the entire table has been downloaded. Another drawback
is that it may force users to resize their viewing window
after they have become accustomed to their preferred settings.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More HTML DHTML Interview Questions

What are the two types of tags in html?

0 Answers  


What is the name of the website?

0 Answers  


What is dhtml? What are the features of dhtml?

0 Answers  


Does a hyperlink apply to text only?

0 Answers  


How to add helper plug-ins on the webpage using html?

0 Answers  






How do you change background color in html?

0 Answers  


What is the Application Cache in HTML5 and why it is used?

0 Answers  


What property is used to set the speed of marquee in html?

0 Answers  


What’s new HTML 5 DocType and Charset?

0 Answers  


What is div and span tag?

0 Answers  


What is xhtml used for?

0 Answers  


How do I become a web developer?

0 Answers  


Categories