I'm trying to learn how to read a DTD I wanted to use,
to ensure I was treating each element correctly in terms of being block,
inline, or flow (either).
<!ENTITY % block
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
<!ENTITY % flow "%block; | %inline;">
The way I read that was the block elements included ADDRESS. However
the next item related to ADDRESS was
<!ELEMENT ADDRESS - - (%inline;)* -- information on author -->
<!ATTLIST ADDRESS
%attrs; -- %coreattrs, %i18n, %events --[color=blue]
>[/color]
This seemed to me to be saying that the element ADDRESS requires opening
and closing tags, is an INLINE element that can be left out, or used one
or more times.
Can anyone explain to me what I am misunderstandin g?
--
to ensure I was treating each element correctly in terms of being block,
inline, or flow (either).
<!ENTITY % block
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
<!ENTITY % flow "%block; | %inline;">
The way I read that was the block elements included ADDRESS. However
the next item related to ADDRESS was
<!ELEMENT ADDRESS - - (%inline;)* -- information on author -->
<!ATTLIST ADDRESS
%attrs; -- %coreattrs, %i18n, %events --[color=blue]
>[/color]
This seemed to me to be saying that the element ADDRESS requires opening
and closing tags, is an INLINE element that can be left out, or used one
or more times.
Can anyone explain to me what I am misunderstandin g?
--
Comment