What are “content elements” and “block element” described in spec?

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!



Answer this question

What are “content elements” and “block element” described in spec?

  • GoDaddy

    Using the HDValidator included with the Jumpstart kit is very helpful too.


  • Landon Parks

    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


  • Shirvo

    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:

    • Did I specify a <timing> block (As I mentioned above)
    • Did I specify a font Without a specified font, no text will render.
    • Did I make sure the font (and all other resources) is specified in the playlist and manifest
    • Am I using the correct syntax A syntax error in the markup may not be noticable and could cause all rendering to fail.


  • PremierITA

    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)


  • What are “content elements” and “block element” described in spec?