You are here: Re: From the *webcake* guy ... « HTML « IT news, forums, messages
Re: From the *webcake* guy ...

Posted by Toby Inkster on 10/10/06 08:43

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>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация