[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set sgml-xml-mode to true in some modes derived from sgml-mode
From: |
tomas |
Subject: |
Re: set sgml-xml-mode to true in some modes derived from sgml-mode |
Date: |
Fri, 5 Aug 2022 06:28:49 +0200 |
On Thu, Aug 04, 2022 at 10:29:37PM +0300, Yilkal Argaw wrote:
> > Specifically, you[^*] want in your[^**] HTML all closing tags that are
> > permitted by the HTML syntax. </p>, </li>, </dd>, but not </input> or
> > </img>. (You[^*] also want quotes around all your[^**] attribute
> > values.)
> May be having a variable that contains an list of tags you want to
> close in html (i.e. those that are permitted by the HTML syntax and
> are enforced by some standards
That would be the HTML "void elements". This [1] is the most current
(2011) reference I can come up with:
area, base, br, col, command, embed, hr, img, input, keygen, link,
meta, param, source, track, wbr
HTML being a "living standard" (an euphemism for "we can do what we
please, users be damned") it's not impossible that they get proliferated
since then.
Cheers
[1]
https://www.w3.org/TR/2011/WD-html-markup-20110113/syntax.html#syntax-elements
--
t
signature.asc
Description: PGP signature