| |
alt.html |
On Wed, 29 Mar 2006 21:40:44 +0100, David Dorward <dorw...@yahoo.com> >> How is a novice to tell the difference between an inline and block <!ENTITY % special <!-- %inline; covers inline or "text-level" elements --> These have told us that SPAN is a member (indirectly) of %inline; The following tells us that the content model _inside_ SPAN is also <!ELEMENT SPAN - - (%inline;)* -- generic language/style For P we see that it's %block;, but that its content model is %inline; <!ENTITY % block <!ELEMENT P - O (%inline;)* -- paragraph --> We can change the CSS behavious at will with the display property. We're
wrote:
>> level element?
"A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO">
<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; |
%formctrl;">
%inline;
container -->
<!ATTLIST SPAN
%attrs; -- %coreattrs, %i18n, %events --
%reserved; -- reserved for possible future use --
>
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
<!ATTLIST P
%attrs; -- %coreattrs, %i18n, %events --
>
>while inline flow beside each other and word wrap.
(confusingly also called "block" and "inline" which is not the same as
the HTML content model that control valid nesting.
stuck with the HTML DTD though.