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
Can html5 replace javascript?
How do I know if an image has an alt tag?
What are dom levels?
Why do we need HTML 5 server-sent events?
What is a self closing tag?
What is an example of labelling?
Explain posting copy and paste html?
Tell us something about the new
What is the syntax difference between a bulleted list and numbered list?
What is onclick in html?
What are
tags in html?
What is a meta keyword example?
What is the difference between Canvas and SVG graphics?
How to insert a picture into a background image of a web page?
Why is innerhtml used?