[html5] Transparent content model

Ian Hickson ian at hixie.ch
Fri Oct 16 00:08:34 PDT 2009


On Thu, 15 Oct 2009, Jordan Robert Dobson wrote:
>
> Can you recommend a reference where I can read up more on what a 
> transparent element is? I think I get it... but not 100%.

The formal reference is the spec, but that might not help. :-)

   http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#transparent-content-models

The basic idea is just that if in the markup you were to take the tags for 
the transparent element out, and it would still be valid, then it's ok:

   <p>Foo <ins> bar </ins> </p>

...becomes:

   <p>Foo       bar        </p>

Does that make sense?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Help mailing list