Ian Collier <[EMAIL PROTECTED]> writes:

> On Wed, Jun 02, 1999 at 11:32:22AM +0100, Lee Willis wrote:
> > > So what you've written there is a paragraph with no text in it
> 
> > No, it's a paragraph containing a single space, which hence requires
> > proper spacing as if it were a paragraph containing some "visible" text.
> 
> I think not.  Try this:
[Snipped]

> Do you see enough space for three blank paragraphs in there?  I don't.
> Whitespace doesn't count at the start of a paragraph; otherwise,

No because all the whitespace caused by the three paragraphs is folded
into a single one ...

> <p>         and           <p>hello
> hello

Whitespace caused by a paragraph tag <p> is the same conceptually as
whitespace caused by spaces, tabs or newlines, hence the space
immediately following a paragraph is folded away into /dev/null as it were.

> would look different.  That's why certain broken HTML generators insert
> <p>&nbsp;</p> to make blank lines.  That really is a paragraph with a
> space in it.
^^
non-breaking

I don't think I explained my last email very well so it may seem at
odds. I've worried about this sort of thing a lot in the past (My final
year project at Uni was a web-browser!) so I know in my head how it all
works but exaplaining it ain't too easy especially when I'm rushing 'coz
I'm at work and I have six-zillion other things to worry about!)

Lee.
-- 
I was doing object-oriented assembly at 1 year old ...  
For some reason my mom insists on calling it "Playing with blocks"

Reply via email to