#microformats 2026-09-05
2026-09-05 UTC
PacificT0ast, [Tabitha], barnabywalters, barnaby and wturrell joined the channel
#
fafau06 trying to add microformats to my web!! but honestly im still a bit confused on what they do exactly lol.... still trying to slowly get at it tho
#
fafau06 but anyway, assuming i know nothing about webdev, can't i add two classes in one element?
#
IWDiscord <fafau06>
#
fafau06 my `<article>` element already got its own class, but apparently i also need to add `class="e-content"` to mark it up as a content? so now my article tag got two classes...
#
IWDiscord <fafau06>
#
fafau06 and when i went to validate using indiewebify, it said that i didn't have e-content yet so im a bit confused
barnaby and [lazcorp] joined the channel
#
[capjamesg] fafau06 You can use two classes by separating them with a space, like this: `class="c-1 c-2"`
#
[capjamesg] If you do `class="c-1" class="c-2"` this will not work as you expect because you can only use the `class` attribute once.
dfbng, thatoddshade, ZodiacalComet, strugee_, wturrell and wturrell_ joined the channel
#
[tantek] [capjamesg] ++ and that's always bugged me too. Feels like the HTML parser coukd be more forgiving here, eg by merely appending additional instances of an attribute on an element, perhaps with a space. And then handle any attribute specific error handling on attribute value specific parsing.
#
fafau06 [capjamesg]: ooo okay okay i see!! thankie!
#
[capjamesg] No worries! I have run into this too 😄
thatoddshade and barnaby joined the channel
barnaby joined the channel
#
Zegnat Is anyone other than me receiving the Dependabot vulnerability alerts for the microformats org, or just me? Either way, I fixed the alerts for the tests repo. Feel free to review, or not and I will just merge it in a few days to shut up the alerts ;) https://github.com/microformats/tests/pull/131
thatoddshade, barnaby and morganwebdev joined the channel
