Reply to Re: Spacing on pictures on framed part of page??????

Your name:

Reply:


Posted by Roy A. on 06/03/07 16:25

On 3 Jun, 16:19, chrisdude911 <chriswilli...@gmail.com> wrote:
> I am new to this
> Would you mind explains waht a "block element" and an "inline element"
> mean?

The body element can only contain block elements or inline (text
level) elements. If you're using a HTML 4.01 Strict DOCTYPE you
should put the img element in an block element, because this DOCTYPE
only allows block elements directly inside the body element.

<!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->

http://www.w3.org/TR/html401/struct/global.html#edef-BODY

Block elements is defined as

<!ENTITY % block
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">

http://www.w3.org/TR/html401/sgml/dtd.html#block

Inline elements is defined as

<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; |
%formctrl;">

http://www.w3.org/TR/html401/sgml/dtd.html#inline

INS and DEL is either block or inline, depending on the context.

Inline elements can only contain text or other inline elements. Block
level elements can, depending on the element, contain inline elements
and text; block elements, or a mix of those elements.

Beside block and inline elements, you can also use script elements
inside the body element.

[Back to original 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

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