2 ms·
I'd wondered yesterday if anyone had studied the actual use of HTML markup within Web documents.[1] Turns out that Opera did this in 2008. Some interesting fi
by dredmorbius 7y ago
I'd wondered yesterday if anyone had studied the actual use of HTML markup within Web documents.[1] Turns out that Opera did this in 2008.
Some interesting findings -- document sizes are curiously multi-peaked, based on Figure 2-1. I've plotted these.[2]
The tag ratio is surprisingly high: "The average document had a Tag Ratio of 61.64%, with almost 2/3 of each document being tags."
And 2008 was still apparently the era of table-based layouts, with table element tags more popular than <p> tags.[3] MAMA provides a full element listing as well,[4] which I've plotted for all values scaled > 1.[5] Only a small subset of those are actually semantic elements.
It'd be interesting to compare this to current practices.
________________________________
Notes:
1. HN comment: https://news.ycombinator.com/item?id=22477551 https://news.ycombinator.com/item?id=22477551 Response from a Mastodon thread: https://mastodon.cloud/@dredmorbius/103760601700847725 https://mastodon.cloud/@dredmorbius/103760601700847725
2. ASCII barplot of document sizes: https://pastebin.com/raw/nBqB3pfS https://pastebin.com/raw/nBqB3pfS
3. ASCII barplot of popular tag frequencies: https://pastebin.com/raw/DhgCSscG https://pastebin.com/raw/DhgCSscG
4. https://maqentaer.com/devopera-static-backup/http/devfiles.myopera.com/articles/570/elemlist-url.htm https://maqentaer.com/devopera-static-backup/http/devfiles.m...
5. ASCII barplot: https://pastebin.com/raw/C9UnewXq https://pastebin.com/raw/C9UnewXq