- From: Gabrielle Serra <gabrielle.serra@wasi.fr>
- Date: Fri, 17 Aug 2012 19:21:43 +0200
- To: John Cowan <cowan@mercury.ccil.org>
- Cc: James Clark <jjc@jclark.com>, public-microxml@w3.org
- Message-ID: <CAB5ZQuE0U2==O6EGbeaeMrftygpkSRBSVmW7iuQMrgDVb8ZevA@mail.gmail.com>
On Fri, Aug 17, 2012 at 6:47 PM, John Cowan <cowan@mercury.ccil.org> wrote: > Gabrielle Serra scripsit: > > > I have a question about compatibility to our goal #8 MicroXML shall be > able > > to straightforwardly represent HTML > > > > <!ELEMENT BR <http://www.w3.org/TR/html401/struct/text.html#edef-BR> - > O > > EMPTY -- forced line break --> > > > > means <br> is an empty element without a closing tag ? or means <br/> is > > allowed ? > > Both <br> and <br/> work to force a line break; indeed, loose slashes are > always ignored in HTML5 start tags. Unfortunately, </br> *also* forces > a line break, so <br></br> will give you two line breaks. This is why > my editor's draft has a special rule requiring any element named "br", > when empty, to be expressed with an empty-tag. (No semantics are given > or required). > > Fortunately, no other HTML element has this property. If you write <meta > blah-blah-blah></meta>, the close-tag is just ignored. > ok, thank you for explanations. Gabrielle > > -- > Don't be so humble. You're not that great. John Cowan > --Golda Meir cowan@ccil.org > -- WASI [ Web Application & System Informations ] Développez votre site internet en toute simplicité ! http://www.wasi.fr Gabrielle Serra 17 rue du Château 82800 Bioule Fr : +33 (0)6 77 47 89 34 Eu : +33 (0)9 77 216 608 En : +44 (0)7 812 433 797
Received on Friday, 17 August 2012 20:05:27 UTC