:: Re: [DNG] HTML/SVG/PostScript [was:…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Steve Litt
Datum:  
To: dng
Betreff: Re: [DNG] HTML/SVG/PostScript [was: ...more about the Xaw widget set]
Didier Kryn said on Fri, 3 Jan 2025 21:22:24 +0100

>Le 03/01/2025 à 10:28, Steve Litt a écrit :
>> I use <br/> and <hr/> all the time in HTML5, and it passes both my
>> well formed XML check and w3c validation.
>
>     I just tried it and checked with the W3C validator installed the
>"easy way" according to your instructions and it produces the message
>below:
>
>...:103.7-103.11: info: Trailing slash on void elements has no effect
>and interacts badly with unquoted attribute values.
>
>I must mention tha my doctype is just HTML, without the url referring
>to XHTML.
>
>--     Didier


Ahah, you're right! I
submitted https://troubleshooters.com/web/css.com to the w3c validator
at https://validator.w3.org/ and got six of the info messages you got.
I normally validity check html5 with a downloaded .jar file, and for
some reason I've long forgotten, that checker doesn't output infos
about trailing slashes.

The info makes clear that the disadvantage of a trailing slash in HTML
is that it interacts badly with unquoted attribute values. The person
who doesn't quote attribute values almost certainly wouldn't use my
techniques anyway, because my techniques would be too rigorous for them.

SteveT

Steve Litt

http://444domains.com