3 ms·
> From a conceptual point of view their implementation makes no sense at all. If your concept is that blocks of design should do things when clicked, that idea
by Terretta 14y ago
> From a conceptual point of view their implementation makes no sense at all.
If your concept is that blocks of design should do things when clicked, that idea is valid. Thankfully, we have methods for easily capturing click events on arbitrary and nested blocks--in fact a whole language for handling events across the representation of layout.
Meanwhile, hyperlinks were for terms in hypertext, and A are the anchors around terms, helping you make a TOC and Index within a single document. The semantic meaning of A is, "this is a term" and A HREF is "this term conceptually relates to this other hypertext reference".
Nobody's forcing you to overload that very simple concept, and certainly nobody's forcing you to wrap headers and footers and main divs inside an anchor. I feel that your application of the anchor is broken.
- vixus 14y ago"a whole language for handling events across the representation of layout" While I agree block-linking seems like an odd way to implement the desired functionality, the idea that javascript (did you mean javascript?) is a more suitable alternative is dubious. The concept of requiring an entire engine to enable linking from HTML elements just seems dirty, when it could be achieved so much more simply with a universal href tag. For starters, how would one define link targets?
- sophacles 14y agoMeanwhile, hyperlinks were for terms in hypertext, and A are the anchors around terms, helping you make a TOC and Index within a single document. The semantic meaning of A is, "this is a term" and A HREF is "this term conceptually relates to this other hypertext reference". Except that images have been linkable since forever, and they are not really "terms in hypertext". Once you start allowing other items than text inside your anchored reference, you have to accept that the relations may become more complicated than a simple, single graph edge. The reference content may in fact be a block quote with a deeper nested reference within itself... and so on.
- saraid216 14y ago> Except that images have been linkable since forever, and they are not really "terms in hypertext". Images are text, at the academic level that hypertext was originally conceived. That's why it makes sense to click and drag an image into Google search, and why it doesn't make sense to do the same to a random div.
- sophacles 14y agoSo seriously, what about blockquotes? They are just text that may be related to the source (not a stretch of imagination I hope), and which also may internally contain links in the quoted section? Going back to the img example: What if I want a navbar? The semantically linked thing is not a random div, it is the whole button area, not just it's text. What if it contains a "help with this option" icon with in the area, that is semantically different from it's surrounding button? The argument is that if an image is "text", then other elements that aren't just words, can in fact be "text", because they have semantic value.
- saraid216 14y ago"bold" isn't text, and neither is "blockquote", which is the same thing: they're styles.
- sophacles 14y agoArgh... blockquote has semantic meaning - this is quoted text. Bold is a style. Hence it being phased out in favor of emphasis (em). Seriously, your entire argument right now looks like: "there are only three semantic things - anchors, images and text". It ignores the notion of headings, lists, partial references, nested references, sections, etc. These all have textually semantic meanings apart from styling. Are you just trolling, or are you honestly refusing to acknowledge that there are semantic meanings for things other than the three I mentioned?
- Terretta 14y ago> there are only three semantic things - anchors, images and text That's not what he said. Also, those are not similar things. A, with or without HREF, can wrap the other two. Images and text are symbols of meaning where the text defines itself as to what that meaning is, and the image defines itself as to what that meaning is. A blockquote indeed means something, but it doesn't define itself. It just sets off text from other text. It needs text (one of those two things above) inside it to convey the quoted meaning. Put another way, a blockquote is not content. Text is content, as is an image.
- ibudiallo 14y agoI agree with you , the anchor tag is not supposed to do all of this. It is much easier to link to a text or inline element then a whole block, yet it allows you too. I don't know why you are complaining.