How to indent a normal or a <PRE>....</PRE> text in HTML?

  • Thread starter Wladimir Borsov
  • Start date
W

Wladimir Borsov

Assume I want to publish a longer article on a web page.
One of the paragraphs I want to display with an indent.
Read: All text lines of this paragraph should be displayed with (let's say 8) blanks
from the "normal" left side.

How do I do that without coding "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" ?

Is there something like
<TAB size=8> ..... </TAB> ?

Wladi
 
T

Toby A Inkster

Wladimir said:
Assume I want to publish a longer article on a web page.
One of the paragraphs I want to display with an indent.

<p style="margin-left:4em">This paragraph is indented.</p>
 
R

Raymond Loman

Folks,

<p>-tag is one of the possibilities. You can also use
the <blockquote>-tag.
See code:
----------------------

<html>
<head></head>

<body>
normal

<blockquote>
this whole text is indented.<br>
the quick brown fox jumps over the lazy dog.<br>
thiss sentencee contains three errors.<br>
<blockquote>
you can even nest the blockquote tag.<br>

</blockquote>
so you have multiple paragraphs.
</blockquote>
</body>
</html>

----------------------

Make your choice. <p> or <blockquote> ;-))

Raymond.
i: http://www.raymondloman.nl
e: (e-mail address removed)
 
T

Toby A Inkster

Raymond said:
<p>-tag is one of the possibilities. You can also use
the <blockquote>-tag.

Blockquote is good, but only appropriate if the text you're marking up is
a genuine quotation from some external source.
 
K

Karl Groves

Raymond Loman said:
Folks,

<p>-tag is one of the possibilities. You can also use
the <blockquote>-tag.

Please don't give any more advice regarding HTML

-Karl
 
S

Shawn K. Quinn

A: Top posting.
Q: What is the most annoying thing on Usenet?

Raymond said:
Folks,

<p>-tag is one of the possibilities. You can also use
the <blockquote>-tag.

The rendering of BLOCKQUOTE is not even guaranteed to be indentation, and I
don't know how you figure P will usually render indented (unless I am
missing something, it won't).

Again, it's fine to use BLOCKQUOTE for a block quotation, but it's not an
"indent command".

[upside-down fullquote snipped]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top