On Mon, Sep 28, 2009 at 9:18 PM, Marius Gundersen <[email protected]> wrote: > Shouldn't you always close the tags, either self-closing or with a separate > close tag? That is, this is the correct way to do it: > > <video width="640" height="360" style="color:red"> > <source src="bunny.ogv" type="video/ogg" /> > <source src="bunny.mp4" type="video/mp4" /> > </video> > <p>Text after the video element.</p>
In the HTML syntax of HTML5, no, void elements do *not* have to be explicitly closed. You *can* put the trailing slash on them, but it doesn't do or mean anything; it's simply ignored. ~TJ
