:: Re: [DNG] HTML/SVG/PostScript [was:…
Pàgina inicial
Delete this message
Reply to this message
Autor: Didier Kryn
Data:  
A: dng
Assumpte: Re: [DNG] HTML/SVG/PostScript [was: ...more about the Xaw widget set]
Le 03/01/2025 à 21:22, Didier Kryn a écrit :
> 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.



    Sorry, it is not the doctype, but the <html> tag. The wikipedia
site about polyglot writing suggests the following <html> tag:

<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">

instead of my usual <html lang="">

But I just checked it doesn't change anything to the validator's
message: it doesn;t like the trailing slash on void elements.

--     Didier