|
Posted by Joe (GKF) on 10/12/06 01:16
In article <m13sv3-9mo.ln1@ophelia.g5n.co.uk>, usenet200610
@tobyinkster.co.uk says...
> Joe wrote:
>
> > HTML comes in two basic types; Block and Inline. You can put inline
> > stuff into a block, you can put a block inside another block; you can
> > put inline stuff into other inline stuff, but you can never, ever, put
> > BLOCK stuff into INLINE stuff.
>
> Sure you can. SPAN is a classic inline element, and DIV is a classic block
> element.
>
> Go validate:
>
> <p>
> This is some text. Let's start an <span>inline
> element.
> <object>
> A bit of trickery with OBJECT.
> <div>This is allowed here!</div>
> </object>
> And don't forget to close our </span>
> The end.
> </p>
>
>
well sure - and you can put the vegemite on the outside of your
sandwich, too. That doesn't mean it's a good thing to do every time.
[Back to original message]
|