Hacker News new | past | comments | ask | show | jobs | submit login

I'm confused, is this a joke? If it is, is there context here I'm missing?



The joke is that italic can also mean Italic, the ethnolonguistic group of those who spoke Italic languages and why Italy is named so.

The phrase "What has semantic HTML ever done for us?" is a riff on the quote "What have the Romans ever done for us?" from the movie Life of Brian, about a Jewish-Roman man mistaken for another Messiah.

The Romans are, of course, Italic peoples.


No, that's not the joke, though for a brief split second, some moments after I wrote the comment, it occurred to me that the interpretation might arise.

Italic type is derived from a form of semi-cursive writing, and is entrenched in the European printing tradition. No punning with Italy intended.

So what does it mean if you have <i> around Chinese, or Devangari or what have you? Do you just apply shear to make the text slanted?

I suspect that it bothered some "woke" types that HTML contains Euro-centric typographical directives, so they have been repurposed to have some sort of, culturally neutral semantics that is more inclusive of the planet's diversity (pardon me if I'm not nailing the terminology here).

In short, <i> no longer belongs to whitey and his writing system.


> So what does it mean if you have <i> around Chinese, or Devangari or what have you? Do you just apply shear to make the text slanted?

Actually, yes! <i> is still defined in the standard to use the italic font style: https://html.spec.whatwg.org/#phrasing-content-3

And if there isn't an italic version of the font (often the case for Chinese etc), https://w3c.github.io/csswg-drafts/css-fonts/#font-style-pro... says the browser should programatically shear it:

> If no italic or oblique face is available, oblique faces may be synthesized by rendering non-obliqued faces with an artificial obliquing operation.


While Italic type is a European thing, it is a very useful thing that does have some parallels in other scripts (Consider Rashi script for Hebrew, or how Japanese uses Katakana in a similar way). No need to get all 'anti-woke' about it: if it were the case that people had a problem with 'Italic type', the phrase 'oblique type' is right there for use.


Can the semantics of <i> stretch so far as to turn hiragana into katakana?


I thought cercatrova's interpretation was a lot funnier.


So what does it mean if you have <i> around Chinese

There's actually a tag for this. I can't remember what it is, but it puts dots above the ideograms, which serves the same function.


Speaking only of HTML tags, you might be thinking of (the HTML version of) "ruby" characters, which isn't dots, but does allow for annotatation:

https://en.wikipedia.org/wiki/Ruby_character#HTML_markup

With CSS `text-emphasis` we can do the dots you are speaking of:

https://css-tricks.com/almanac/properties/t/text-emphasis/

Probably there are other useful bits of HTML/CSS for Asian languages. (right to left and/or vertical writing, anyone? I always wanted to fart around with pretty-printed Chinese poems and, like, calligraphy script fonts with procedurally generated jitter.)

Edit: there are also Unicode entities for these:

https://en.wikipedia.org/wiki/Emphasis_mark


[flagged]


Just saying slanted is not problematic. would be.


Italic --> Of Italy.


Not to be confused with idio[ma]tic, of idiots.


From my end, it's intended that way, and I hope it is so.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: