3 ms·
I'm surprised they didn't fix this sillyness in HTML5 when they were making up semantically-sensible tags for everything else. A tag with <link to="http:/
by Pxtl 13y ago
I'm surprised they didn't fix this sillyness in HTML5 when they were making up semantically-sensible tags for everything else.
A tag with
<link to="http://somepage" in="new window">
or something like that would make more sense as having the "article" inside the "body" of the document. Yes, I know link is already used in the head. You know what I mean, though.
I mean, the dual-use of a as both anchor and link has always been bizarre.
- saurik 13y agoMost of the stuff HTML5 did is either backwards compatible in real-world HTML4 browsers or simply impossible; like, you've pretty much always been able to just drop down random tags that will default to acting sort of like a div. Changing how links work would be pretty severe.
- gilgoomesh 13y ago> I mean, the dual-use of a as both anchor and link has always been bizarre. In the original Ted Nelson "Xanadu" conception of hypertext (which inspired Berners-Lee and others at the time), all links were bi-directional. We now use <a name=""> as a target and <a href=""> as a source but the original idea was that every link would be both a target and source – you'd link from one page to another then travel through the bi-directional link backwards and resume the original page. Yeah, it didn't happen because it was grossly impractical didn't serve any real-world purpose. But that's why they share the same tag.