How do I indent a lot of text?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can html5 replace javascript?

549


How do I know if an image has an alt tag?

455


What are dom levels?

438


Why do we need HTML 5 server-sent events?

509


What is a self closing tag?

453






What is an example of labelling?

482


Explain posting copy and paste html?

508


Tell us something about the new element.

480


What is the syntax difference between a bulleted list and numbered list?

489


What is onclick in html?

459


What are
tags in html?

502


What is a meta keyword example?

466


What is the difference between Canvas and SVG graphics?

533


How to insert a picture into a background image of a web page?

437


Why is innerhtml used?

452