HTML element letter count distribution 0 ▲ with words, wonder 1 hour ago · Tech · hide · 0 comments How many HTML elements are exactly five letters long? This question came to mind in the context of a discussion I had yesterday about what an indie web version of Wordle would look like. We all started to name elements. table, tbody, input, among others, all have five letters. After the discussion, I wrote a Python script to compute the string lengths of each HTML element. I used the list of HTML elements on the MDN website as my dataset. The MDN list includes some elements (like selectedcontent) that are not Baseline supported yet, but I included them anyway. I excluded deprecated elements. From my analysis, I found there are fifteen elements that are exactly five letters long. These are: aside audio embed input label meter small style table tfoot thead title track video This means that there are fifteen possibilities for a HTML Wordle. We’d definitely need more words. Here is a histogram showing the letter count distribution for all HTML elements: Element Length Number of Elements 1… No comments yet. Log in to reply on the Fediverse. Comments will appear here.