How to use FSFE's webpreview for translations
How to use FSFE's webpreview for translations
Когда‐то давно, но не очень давно, люди, работающие над HTML, всё‐таки решились и запилили элемент <details>
для спойлеров. Но есть нюанс: в параграф, куда его очень часто и хотелось бы запихать, его не поместить — парсер выплюнет наружу. А вот в XHTML такой фигни с парсингом не было и нет 🤭
<p>Вот что я тебе скажу, птичка: <details>Спойлерный текст.</details></p>
превращается в:
<p>Вот что я тебе скажу, птичка: </p>
<details>Спойлерный текст.</details>
<p></p>
Так и живём.
А, и да. Текст по умолчанию (когда нет <summary>
) не локализуется. Чтобы не расслаблялись 🤷
If you’re in the mood for XHTML today, check out @frontenddogma’s XHTML archives! ❎
Markup Languages, by @j9t [@frontenddogma.com]:
https://meiert.com/en/blog/markup-languages/
#overviews #linklists #sgml #html #xml #xhtml #hdml #dhtml #mathml #wml #chtml
Not only that, the source is hand-edited XHTML https://github.com/standardebooks/jane-austen_pride-and-prejudice/blob/master/src/epub/text/chapter-1.xhtml
How quaint!
The weirdest CSS selector I've used today:
:root[*|xmlns*="facturaElectronica" i]:before
We should have some markup for Venn diagrams so we don't have to attach them as images when creating memes.
If you want to know at what junction our field stood at some point wrt the mobile Web, check out this particular gem from ZDNet, “Souping Up Wireless” (2001).
And yes—WML, HDML, CHTML, XHTML.
Fantastic.
(This relates to what I wrote about the other day, researching content for the 2000s and 2010s archives on @frontenddogma. Stay tuned!)
@jakintosh I kinda lost interest when #HTML5 came out and was presented as the pragmatic answer to the strictly validated #XHTML. With that we lost namespaces. Sure #RDFa introduced it somewhat, but in an ugly way. I was hoping the future would be <title><dc:title>My blog</dc:title></title>, where RDF would just be mixed in with #HTML. So yeah, also SVG embeds would have been namespaced when mixed in HTML docs. RDFa was supposed to be a pragmatic variant but made metadata a second class citizen. JSON LD is basically the old approach of linking outside for metadata, which is perhaps the worst… so I am now like. Call me when XHTML2 is a thing 😅
Here's an idea -- why not use declarative files to define program extensions instead of letting extensions run any code whatsoever?
I feel like the whole X/HT/ML era has been completely lost and app developers can't think in anything but code any more. Every problem is solved with JavaScript. Problems with #JS are solved with more JS. Security problems with executing 3rd party code are not solved by removing 3rd party code but trying to naively sandbox the 3rd party code like the halting problem isn't a thing.
Latest version of #HTML standard includes a warning that advises against using the #XML syntax (formerly known as #XHTML), stating that it's "essentially unmaintained"🧐 :
https://html.spec.whatwg.org/multipage/xhtml.html
Looks like a recent change, as there's no mention of this in the April 3 version of the spec:
https://web.archive.org/web/20240403210532/https://html.spec.whatwg.org/multipage/xhtml.html
Unless I'm misreading it, this seems like a big deal? E.g. XML syntax is mandatory in #EPUB 3 documents:
https://www.w3.org/TR/epub-33/#dfn-xhtml-content-document
Time to #wheelOutTheDigitalDarkAgeKlaxon 📯?
It's a shame that it's not recommended to write #HTML with #XML syntax (#XHTML). I prefer the strictness of XML. https://html.spec.whatwg.org/multipage/xhtml.html#the-xhtml-syntax
[Перевод] Доводы против самозакрывающихся тегов в HTML
Самозакрывающиеся теги - зло? Prettier не прав? Разбор с примерами острой темы в HTML, где все будет разложено по полочкам
https://habr.com/ru/articles/810945/
#HTML #XML #XHTML #HTML5 #JSX #Самозакрывающиеся_теги #Парсинг_HTML
ブログ書いた。
XHTML の終焉と XHTML 1.0 Transitional 時代の思い出
https://blog.w0s.jp/706
HTML Living Standard において XML 構文が非推奨であることが明記されるようになりました。しかし世の中のほとんどのサイトには影響ありません。XHTML 時代を回想しつつ、今回の記述追加に至った背景を探ります。