Hi, all
I want know what are “content elements” and “block element” which are used in spec 7.6
Which element defined in Table 7.5.3-1 are they
I encounter lots of problem when I try to render style markup.
Can you give me a help
Thank u!
Hi, all
I want know what are “content elements” and “block element” which are used in spec 7.6
Which element defined in Table 7.5.3-1 are they
I encounter lots of problem when I try to render style markup.
Can you give me a help
Thank u!
What are “content elements” and “block element” described in spec?
Douglas H. Troy
This may not be all that helpful if you're not conversant with HTML wordage, but block elements are <div> and <p> (always) and <button>, <input> and <object> when used in a block manner. (A block manner pretty much means "not inside a <p> or <span>")
All the elements in 7.5.3-1 are "content" elements.
If you can describe your problem a little more, perhaps we can be of more help (As a wild guess, try adding a <timing></timing> section to your <head> section, without it, the system assumes inline timing and all your content will be visible for 0 seconds)
stephanielauym
Is your second example <p> inside a <div> <p> cannot exist by itself in the <body> tag, and requires a <div> to enclose it.
Things I always check when I'm having rendering problems:
Louis_T
JinMengcheng
Bryan Kilian,thank u. Now I am redering style markup, but I found some problem.
which content of elememt shall be rendered
case 1:
<div>
<p>
text
</p>
</div>
it will display "text"!
case 2:
<p>
<span>
test span
</span>
</p>
It will display none.
Why