[thelist] image in <p> (was "random image...")
rudy limeback
r937 at interlog.com
Mon Jul 3 15:55:39 2000
> so it should follow that an image directly related
> to a chunk of text can easily be placed in a <p>
yes
not just "can easily be," perhaps "must be"
> i meant what i said and i said what i meant ...
an aardvark is faithful, one hunnert perthent
;o)
> ... putting a <p> in there [<blockquote>] would be wrong...
no, it would be right
what if the quote consists of two paragraphs?
> i just want the *structure*...
erika's original structure was
<div class="image">
<img src="images/image1.gif" alt="image1" width="100" height="100" />
<br><br>
a caption which relates to the image
</div>
what about structuring it like this:
<div class="image">
<img src="images/image1.gif" alt="image1" width="100" height="100" />
<p>
a caption which relates to the image
</p>
</div>
(leaving aside the question of whether line feeds are white space)
sure there are valid reasons for an image to be inline, inside some text --
those little icons, for example, that indicate whether a link is offsite or
is a pdf or whatever -- i'm just not convinced it's always as cut-and-dry
as it at first seems, most images just aren't inline...
hey, would this make a nice question on one of those
you-gotta-pass-our-html-quiz-to-work-here interview questionnaires?
Q1: what is the html for a paragraph of
text beside an image
Q2: what is the html for a paragraph of
text below an image
Q2: what is the html for Q1 and Q2 *without* using
the deprecated align= property in the img tag
i still like the <div> approach and would leave it in place because it
means you can delete the caption and expect everything to still work...
rudy.limeback
r937.com
evolt.org