What is Nostr?
Terence Eden’s Blog /
npub1lyw…ruez
2023-09-18 11:34:25

Terence Eden’s Blog on Nostr: False Friends - HTML Elements which are also Top Level Domains ...

False Friends - HTML Elements which are also Top Level Domains
https://shkspr.mobi/blog/2023/09/false-friends-html-elements-which-are-also-top-level-domains/

In linguistics, a "False Friend" is a word which looks similar in multiple languages, but means something different in each of them. For example the word "gift" in English means "a present", in German means "poison", and in Norwegian it means "married".

The Internet uses Top Level Domains (TLD) to organise information into hierarchies. This website uses .mobi - you may also be familiar with .com for commercial entities, or .de for German pages.

The World Wide Web uses HyperText Markup Language (HTML) to structure web pages. For example <footer> to display a footer, or <ol> for an ordered list.

There is absolutely no relationship between the two sets of entities. But, just for fun, are there any HTML elements which happen to be false friends of the TLDs?

Before we go any further, have a quick think. How many do you reckon there are? Are there some which spring to mind immediately?

Obviously, the first port of call is AI. Its mastery of all things means that we can get an accurate answer in a nanosecond.

Oh.

Right, let's compare the Element Reference with the Root Zone Database.

There are fifteen current HTML elements which have a match with a TLD. And a couple which are deprecated. Here they are:

🔊 <audio> .audio
🇧🇷 <br> .br - Brazil
🗂 <data> .data
🇭🇷 <hr> .hr - Croatia
🇱🇮 <li> .li - Liechtenstein
🔗 <link> .link
🗺 <map> .map
☰ <menu> .menu
🔎 <search> .search
👉 <select> .select
🧥 <style> .style
🇹🇩 <td> .td - Chad
🇹🇭 <th> .th - Thailand
🇹🇷 <tr> .tr - Türkiye
📹 <video> .video

And the ones which are no longer valid HTML:

🖕 <center> .center
🇹🇹 <tt> .tt - Trinidad and Tobago

Is that more than you expected? Less? Are there others which you think should be TLDs? Should HTML get a <uk> element post-Brexit? Have I missed any?

Comments in the usual box.

https://shkspr.mobi/blog/2023/09/false-friends-html-elements-which-are-also-top-level-domains/

#HTML #internet #tld
Author Public Key
npub1lywey3rjuskr7kstpvwj3xafa56qrkfc6r7f665rxvw4sv2jw6ps5vruez