Ecma-48 proposed styling controls update updated & math expression representation proposal update
Alexander Lange
alexander.lange at catrinity-font.de
Sun Jan 7 06:23:15 CST 2024
On 07.01.2024 13:02, William_J_G Overington via Unicode wrote:
> [...]
>
>
> "Well, the text is
>
>
> It was printed by Gutenberg in Mainz.
>
>
> and most of it is in green yet the name Gutenberg is in yellow. How
> can I code that?"
>
>
> [...]
Alright, let's solve this example problem:
<p>It was printed by <i>Gutenberg</i> in Mainz.</p>
That would be the HTML to structure the text as needed. Any kind of
styles, included all possible RGBA colors, can then easily be applied
using CSS. This is also possible inline in cases where it's important to
have only one file:
<p style="color: green">It was printed by <i style="color: yellow;
font-style:normal">Gutenberg</i> in Mainz.</p>
(I added font-style:normal because <i> is shown in Italic by default.)
Other possibilities would be BBCode, RichText, ... or any own format you
can define.
Kind regards,
Alexander Lange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://corp.unicode.org/pipermail/unicode/attachments/20240107/d9407674/attachment.htm>
More information about the Unicode
mailing list