#XHTML

2025-05-15

How to use FSFE's webpreview for translations

media.fsfe.org/w/2Hx5degpF8oKu

Ténno Seremél’tennoseremel@gts.skobk.in
2025-05-06

Когда‐то давно, но не очень давно, люди, работающие над HTML, всё‐таки решились и запилили элемент <details> для спойлеров. Но есть нюанс: в параграф, куда его очень часто и хотелось бы запихать, его не поместить — парсер выплюнет наружу. А вот в XHTML такой фигни с парсингом не было и нет 🤭

<p>Вот что я тебе скажу, птичка: <details>Спойлерный текст.</details></p>

превращается в:

<p>Вот что я тебе скажу, птичка: </p>
<details>Спойлерный текст.</details>
<p></p>

Так и живём.

А, и да. Текст по умолчанию (когда нет <summary>) не локализуется. Чтобы не расслаблялись 🤷

#lang_ru #html #xhtml

Jens Oliver Meiertj9t@mas.to
2025-04-11

If you’re in the mood for XHTML today, check out @frontenddogma’s XHTML archives! ❎

frontenddogma.com/topics/xhtml

#webdev #xhtml

Matěj Cepl 🇪🇺 🇨🇿 🇺🇦mcepl@en.osm.town
2025-02-16
2025-01-02

Your eyes haven’t bled from bad markup until they’ve glanced upon an ePUB exported from InDesign.

#ePub #markup #InDesign #XHTML #HTML

Screenshot of code starting with highlighted h4 tag: <h4 class="CHead"><em class="Emphasis">Mys</em><span class="NoBreak"><em class="Emphasis">tery</em></span><span class="NoBreak"><em class="Emphasis"> meat </em></span></h4><p class="BodyFirstParagraph">Every now and again, I come across an “alternative” navigation where a designer has decided they can subvert existing conventions and provide someone with a
Francisco de la Peñafdelapena@floss.social
2024-12-10

The weirdest CSS selector I've used today:

:root[*|xmlns*="facturaElectronica" i]:before

#xml #css #xmlcrimes #csscrimes #xhtml

2024-12-01

We should have some markup for Venn diagrams so we don't have to attach them as images when creating memes.

#fediverse #xhtml #unicode

2024-10-15
I was wondering why I my #browser is not processing the ENTITY include in my #XHTML's DOCTYPE, so I looked around and found this: https://bugzilla.mozilla.org/show_bug.cgi?id=22942, https://bugzilla.mozilla.org/show_bug.cgi?id=69799

What a shame, this could've been an alternative to the current methods of including HTML templates to a document, which are doing the include server-side and in build-time, JavaScript, and iframes, all of which have trade-offs... Why can't I just include HTML like I can do with CSS stylesheets :(

#XML
Jens Oliver Meiertj9t@mas.to
2024-08-02

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!)

web.archive.org/web/2001060906

#mobile #wml #hdml #chtml #xhtml #html

maarten brouwersmurb@todon.nl
2024-07-13

@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 😅

Many Colors, Many Forms, Many Flavors, Maybe Morepolychromata@animalfound.family
2024-06-21

Wait, so does XHTML automatically enforce correct element categories|nesting (e.g. stopping you from putting a <li> outside of a <ul>|<ol>)?

#HTML #XHTML

2024-06-12

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.

#html #xhtml #xml

Ténno Seremél’tennoseremel@lor.sh
2024-06-04

Still think XHTML(5) is better than HTML(5) :blobcatcoffee:

#lang_en #xhtml #html #web

Johan van der Knijffbitsgalore@digipres.club
2024-06-04

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"🧐 :

html.spec.whatwg.org/multipage

Looks like a recent change, as there's no mention of this in the April 3 version of the spec:

web.archive.org/web/2024040321

Unless I'm misreading it, this seems like a big deal? E.g. XML syntax is mandatory in #EPUB 3 documents:

w3.org/TR/epub-33/#dfn-xhtml-c

Time to #wheelOutTheDigitalDarkAgeKlaxon 📯?

Juan C Nunojuancnuno
2024-05-08

It's a shame that it's not recommended to write with syntax (). I prefer the strictness of XML. html.spec.whatwg.org/multipage

:mima_rule: Mima-samamima@makai.chaotic.ninja
2024-05-07

Funnily the #W3C tried to make #HTML an #XML with their #XHTML efforts before being forcibly abandoned thanks to #WHATWG and their #HTML5 in their crusade against plugins... ​:seija_coffee:​

RE:
https://mastodo.neoliber.al/users/dutch_connection_uk/statuses/112397910394109697

2024-04-27

[Перевод] Доводы против самозакрывающихся тегов в HTML

Самозакрывающиеся теги - зло? Prettier не прав? Разбор с примерами острой темы в HTML, где все будет разложено по полочкам

habr.com/ru/articles/810945/

#HTML #XML #XHTML #HTML5 #JSX #Самозакрывающиеся_теги #Парсинг_HTML

2024-04-08

ブログ書いた。

XHTML の終焉と XHTML 1.0 Transitional 時代の思い出
blog.w0s.jp/706

#html #xhtml

HTML Living Standard において XML 構文が非推奨であることが明記されるようになりました。しかし世の中のほとんどのサイトには影響ありません。XHTML 時代を回想しつつ、今回の記述追加に至った背景を探ります。

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst