On Fri, Feb 14, 2014 at 10:43 AM, Samuel Debionne <
samuel.debio...@ujf-grenoble.fr> wrote:

> Something I noticed while hacking the wikiformat code is the use of <div
> id='foo'></div id='foo'> which is not valid HTML AFAIK. Closing tags should
> not have attributes right ?
>

Technically, closing tags do not have attributes, but HTML parsers are
supposed to tolerate and ignore them. Practically, certain attributes, like
id, can increase readability when placed in closing tags. Much like putting
comments after }, #else and #endif to help identify the  the corresponding
{ or #if.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to