- From: Tobias Reif <tobiasreif@pinkjuice.com>
- Date: Mon, 19 Aug 2002 19:23:02 +0200
- To: www-svg@w3.org
Jim Ley wrote:
> Odd, the DTD at
> http://www.w3.org/TR/1999/REC-html401-19991224/sgml/dtd.html
>
> <!ELEMENT DIV - - (%flow;)* -- generic language/style
> container -->
>
> seems to say it's a flow element.
No, it says it's a block element:
<!ENTITY % block
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
The fragment you quoted specifies the content model of the div element:
it can contain flow elements.
> which is why I suggested removing it, they don't
> carry different semantics.
Yes they do; see many explanations in this thread.
text is a block of text, a tspan is a span ("subsection") of a text block.
You can use them like this; it works well.
The limitations this thread discusses are not related to anything
requiring removal of this element; it's not a duplicate of text.
Tobi
--
http://www.pinkjuice.com/
Received on Monday, 19 August 2002 13:22:25 UTC