On 29/04/2020 12:06, aguador wrote:
I am in the process of updating the Spanish translation for E24 and
am curious about the "ps" tag.

There is no such element in HTML. It may be a proprietary add-on.

When I updated for E23, I saw that most <br> tags were replaced by
<ps/>,

That is probably an error.

although I could not find the latter on any list of XML tags. Now I
see that there are both <ps/> and </ps> tags.

I would be interested to know what they mean.

     * How and where are these tags defined?

They aren't.

     * Are both correct and how do they differ (as they do not seem to
       be paired)?

I think they are a mistake.

     * Why are they preferred over <br>?
     * Should the few remaining <br> tags be replaced?

No. Use <br> (for old-style HTML up to v4) or <br/> for XHTML and HTML5.

The <br/> element is normally not needed at all and should be a great rarity: it is intended for premature linebreaks *inside* a paragraph. It should never be used as a substitute for a paragraph — use normal <p>...</p> for that. If you want repeated newlines, use a list. If you want closer spacing, use CSS to control the layout. Abusing HTML to do layouts that are better done in CSS is a sign of the amateur and I'm pretty certain we should not be doing that.

Peter


_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to