norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.5K
active users

#html5

7 posts6 participants0 posts today

Finally, browser vendors are removing the deprecated reduction of heading sizes in sectioning elements. When I discovered this in the spec, I considered this a profound mistake to mess with default sizes depending on context or hierarchy.

If someone puts multiple <h1> on a page, it’s their fault. If they get those through iframing external content, they have to properly style it.

Can’t wait to remove those pesky fixes from my CSS.

developer.mozilla.org/en-US/bl

The MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.
MDN Web DocsDefault styles for h1 elements are changing | MDN BlogBrowsers are starting to roll out changes in default UA styles for nested section headings. This post describes the incoming changes, how to identify if it's an issue on your websites, and hints for conformant and better-structured pages.
Continued thread

Everything I've seen about the <nav> element makes me feel like it's really only intended for groups of navigation links that navigate you somewhere else from the current page, and that are not really semantically related to the content of the specific page you are on.

As far as I know, screenreaders usually skip them.

In my case, the list of blog articles is the main attraction of the page though, not a "home" and "about" style navigation bar.

#HTML#HTML5#Markup
Replied in thread

@ajsadauskas @JessTheUnstill @tomiahonen yes, and to add insult to injury #Mozilla didn't even wanted to sell people like @fuchsiii or me a #FirefoxOS device, with the only one being "launched" in the #EU being a #SimLock'd & #NetLock'd #prepaid phone in #Spain one could only attain in-store with all the "#KYC" nonsense they had, demanding a legal address in Spain back then.

And #nerds like myself are far from the "#consoomer #Normies" for whom stuff that isn't on shelves at Staturn/MediaMarkt, BestBuy, Walmart, ... doesn't exist. I'm used to importing #tech that I want!

🆕 blog! “An opinionated HTML Serializer for PHP 8.4”

A few days ago, I wrote a shitty pretty-printer for PHP 8.4's new Dom\HTMLDocument class.

I've since re-written it to be faster and more stylistically correct.

It turns this:

<html lang="en-GB"><head><title id="something">Test</title></head><body><h1 class="top upper">Testing</h1><main><p>Some <em>HTML</em> and an…

👀 Read more: shkspr.mobi/blog/2025/04/an-op

#HowTo #HTML5 #php

The HTML5 Logo.
Terence Eden’s Blog · An opinionated HTML Serializer for PHP 8.4
More from Terence Eden

Mettiamo alla prova Gemma 3, il nuovo modello linguistico di Google che può essere eseguito su una singola GPU. Il test riguarda il riconoscimento di immagini di videogiochi che il modello linguistico deve poi riprodurre in HTML5. Per non rendere il compito impossibile, scegliamo immagini di videogiochi classici: Pong e Asteroids. Riuscirà il nostro eroe virtuale nell'impresa? #gemma3 #intelligenzaartificiale #programmazione #html5 #javascript youtube.com/watch?v=10B7JyZjGu