(missing)
(missing)
(missing)
Re: Proposal to add HTML class attributes to SRFIs to aid machine-parsing Marc Nieper-Wißkirchen (06 Mar 2019 10:12 UTC)
Re: Proposal to add HTML class attributes to SRFIs to aid machine-parsing Per Bothner (07 Mar 2019 21:31 UTC)

Re: Proposal to add HTML class attributes to SRFIs to aid machine-parsing Per Bothner 07 Mar 2019 21:30 UTC

On 3/7/19 1:08 PM, Arthur A. Gleckler wrote:
> That should be easy to do after the fact.  However, in
> HTML5, certain elements, e.g. <img>, <input>, <br>, <hr>, and
> <meta>, are not allowed to have closing elements:
>
>   https://dev.w3.org/html5/html-author/#void
>
> In those cases, we'll have to use self-closing tags.

To clarify: "Polyglot markup" (that is both valid HTML and XML) is one possibility.
Always-empty elements like <hr> would be written as:
   <hr />
while an empty span must be written as:
   <span></span>
--
	--Per Bothner
xxxxxx@bothner.com   http://per.bothner.com/