On 29/04/2020 14:56, waterbeare...@gmx.com wrote:
[...]
OK, to clarify a badly formed question on my part: What is the
difference between the leading and trailing slashes in the tab, if any?
The trailing slashes (<ps/>) appeared in E23. However I have just
noticed that some of the strings about gadget .desktop file errors now
appear with </ps>.
This is not HTML, as I pointed out. Perhaps it is some other XML markup
language, or perhaps it's a private addition to HTML5.
Normal elements have a start tag and an end tag, like <p>...</p>
In the old (pre-XML) days, empty tags like BR or IMG didn't need an
end-tag because the definition of HTML (the DTD) said so, so the parser
knew in advance not to bother looking for </BR> or </IMG>
In XML, there does not need to be a formal definition of elements
(schema or DTD). HTML5 explicitly does not have one. So an element which
CANNOT have text or markup content (like br or img) must ALWAYS be
written as <br/> or <img/> so that the parser knows it should not go
looking for any matching </br> or </img>
On 29/04/2020 13:15, Carsten Haitzler (The Rasterman) wrote:
[...]
> it's a paragraph separator. br is explicitly a newline break.
Please can we stop doing this? It's an unnecessary confusion, and
doesn't make the e community look good. The end of a paragraph in HTML
is the </p> end-tag. I'm not aware of any reason why this is not used
(maybe there is one, but it is not clear to me).
P
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users