[Linux-ha-dev] Should <br/> tag be <br>?

Andrew Beekhof beekhof at gmail.com
Thu Jul 12 04:13:12 MDT 2007


On 7/11/07, Alan Robertson <alanr at unix.sh> wrote:
> Andrew Beekhof wrote:
> > On 7/11/07, DAIKI MATSUDA <d.matuda at gmail.com> wrote:
> >> Hello, all.
> >>
> >> I found a little bug in crm_mon source code (crm/admin/crm_mon.c). It
> >> can create HTML file with --as-html option. But it includes not <br>
> >> tag but <br/> for carriage return code. I think <br> may be correct
> >> and attach the patch. Could you confirm?
> >
> > no.  those tags should be closed in correctly formed HTML
> > it just like xml really...
>
>
> HTML doesn't allow the <xml/> type options.  HTML is NOT really just
> like XML.

well they have the same ancestry (SGML)
but it never occurred to me that <tag/> would actually be forbidden.
thats pretty dumb.

> XHTML might be that way,

it is.
its also w3c's (7 year old) successor to HTML4 and what i'm writing for

> but HTML 4 certainly isn't.  I'd
> run it through one of the HTML verifiers like that at the w3c to make
> sure, but I just looked in my HTML4 book to verify what I just said.


More information about the Linux-HA-Dev mailing list