Re: Self closing tag error message

Chuck Houpt (chuck@habilis.net) wrote:

>
>
> > On Sep 28, 2022, at 5:08 PM, Jon Storslee <
> jon.storslee@paradisevalley.edu> wrote:
> >
> > I started internally closing the tags to maintain compliance with the
> XHTML standard.  I can't seem to find any notice about no longer using the
> internal closure.
>
> There's a note in the ChangeLog:
>
>
> https://github.com/validator/validator/commit/c02589ca56c99e7706a0cb7ece9edbaf0801d49e
>
> Is there a rationale for this? The “self-closing” syntax like <br/> looks
perfectly harmless to me. Of course, it’s a holdover from the era when
“XHTML” was popular without any good reason, but in non-XML parsing <br/>
has always been read as <br>.

Jukka, http://jkorpela.fi

Received on Thursday, 29 September 2022 18:41:49 UTC