Post An41tX7VXIpLlu6bc8 by michelle@front-end.social
(DIR) More posts by michelle@front-end.social
(DIR) Post #An41tUFYCwTiryqUEa by michelle@front-end.social
2024-10-16T11:25:02Z
0 likes, 0 repeats
I wrote about blockquotes and being bad at HTML https://css-irl.info/ive-been-doing-blockquotes-wrong/
(DIR) Post #An41tVv405HM31H9Zw by cwilcox808@c.im
2024-10-16T12:17:59Z
0 likes, 0 repeats
@michelle <q> does a few things:It localizes the marks, it will use the marks that fit the `lang` set on a parent element. Add `lang="fr"` to see how the appearance of <q> changes.It automatically makes quotation marks "curly" instead of straight. Your article appears to have curly quotes in the text but my guess is something did that formatting for you, you didn't use an arcane key combination to type open quote, close quote characters. <q> uses pseudo-elements to add the right characters.Because the curly quote characters aren't a part of the text, they don't get mangled by encoding mismatches (e.g. Unicode vs. Latin-1).In languages that use them, it automatically alternates between double quote (") and single quote (') marks for nested quotations; outermost is double, next quote in is single, then inside that is double, and so on.
(DIR) Post #An41tX7VXIpLlu6bc8 by michelle@front-end.social
2024-10-16T12:32:22Z
0 likes, 0 repeats
@cwilcox808 >my guess is something did that formatting for you, you didn't use an arcane key combination to type open quote, close quote charactersOh, I absolutely did! The designer in me would never use " for double quotation marks š But thank you, this is super interesting to know!
(DIR) Post #An41tXygLbMUQoz4Uq by aral@mastodon.ar.al
2024-10-16T12:35:17Z
0 likes, 0 repeats
@michelle @cwilcox808 > Oh, I absolutely did! The designer in me would never use " for double quotation marks š Glad to know Iām not the only one :)
(DIR) Post #An41tZMpBKGejzHrlY by cwilcox808@c.im
2024-10-16T12:22:37Z
0 likes, 0 repeats
@michelle A downside to <q> is because it makes the marks a form of styling, instead of a part of the text, the marks don't survive copying and pasting into plaintext.It's also more cumbersome to type out open and close HTML tags vs. pressing Shift+' on a (English) keyboard.