<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: HTML5:  Wrap Block-Level Elements with&#160;A&#8217;s</title> <atom:link href="http://davidwalsh.name/html5-elements-links/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/html5-elements-links</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 04:02:29 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: And Finally</title><link>http://davidwalsh.name/html5-elements-links#comment-30840</link> <dc:creator>And Finally</dc:creator> <pubDate>Wed, 07 Mar 2012 15:59:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-30840</guid> <description>I love it! There&#039;s absolutely no reason why this should not be legal. It&#039;s a much needed improvement which will simplify code wherever multiple elements need the same link.</description> <content:encoded><![CDATA[<p>I love it! There&#8217;s absolutely no reason why this should not be legal. It&#8217;s a much needed improvement which will simplify code wherever multiple elements need the same link.</p> ]]></content:encoded> </item> <item><title>By: Luka</title><link>http://davidwalsh.name/html5-elements-links#comment-28097</link> <dc:creator>Luka</dc:creator> <pubDate>Mon, 26 Dec 2011 14:40:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-28097</guid> <description>Mixed feelings about what??? 10 years ago or not that long ago people had mixed feelings about DIVs agains TR and TD and xHtml against HTML,;now it&#039;s ridiculous to even mention old approaches...
One link can be clickable, One Div can be clickable, One column (should be clickable)... see no problem :)))</description> <content:encoded><![CDATA[<p>Mixed feelings about what??? 10 years ago or not that long ago people had mixed feelings about DIVs agains TR and TD and xHtml against HTML,;now it&#8217;s ridiculous to even mention old approaches&#8230;<br
/> One link can be clickable, One Div can be clickable, One column (should be clickable)&#8230; see no problem :)))</p> ]]></content:encoded> </item> <item><title>By: Paul Sandel</title><link>http://davidwalsh.name/html5-elements-links#comment-27797</link> <dc:creator>Paul Sandel</dc:creator> <pubDate>Thu, 01 Dec 2011 17:44:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-27797</guid> <description>I&#039;m all about it! As most, I&#039;ve been writing javascript for clickable divs. The concern that brought me here, is that I wanted the links to be available to search engines as well as people. I&#039;m so glad HTML 5 allows wrapping most elements in an &#039;a&#039;.Good discussion, btw!</description> <content:encoded><![CDATA[<p>I&#8217;m all about it! As most, I&#8217;ve been writing javascript for clickable divs. The concern that brought me here, is that I wanted the links to be available to search engines as well as people. I&#8217;m so glad HTML 5 allows wrapping most elements in an &#8216;a&#8217;.</p><p>Good discussion, btw!</p> ]]></content:encoded> </item> <item><title>By: Jasper Van Proeyen</title><link>http://davidwalsh.name/html5-elements-links#comment-26110</link> <dc:creator>Jasper Van Proeyen</dc:creator> <pubDate>Tue, 19 Jul 2011 13:35:33 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-26110</guid> <description>As long as it is accessible and it isn&#039;t used as a &quot;trick&quot;, I guess it should be allowed.
I&#039;m very happy that it is allowed now. I often run into the problem where I have a navigation where each &quot;link&quot; consists of a heading, an image and a paragraph.</description> <content:encoded><![CDATA[<p>As long as it is accessible and it isn&#8217;t used as a &#8220;trick&#8221;, I guess it should be allowed.<br
/> I&#8217;m very happy that it is allowed now. I often run into the problem where I have a navigation where each &#8220;link&#8221; consists of a heading, an image and a paragraph.</p> ]]></content:encoded> </item> <item><title>By: M1ke</title><link>http://davidwalsh.name/html5-elements-links#comment-23050</link> <dc:creator>M1ke</dc:creator> <pubDate>Mon, 14 Mar 2011 14:48:04 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-23050</guid> <description>I disagree, I think this way makes it more clear than the hacks of old. People become used to clicking any part of a &quot;block&quot; of content to see that content in more detail, and previously your only option was to put the content of each block element inside its own anchor (meaning multiple links to the same content; messy) or to use JavaScript which doesn&#039;t show the URL in the status bar, doesn&#039;t apply default &quot;click&quot; styles (which can be forgotten) and isn&#039;t available to everyone. This method is far less open to abuse, and as people are saying it is only taboo because it has been taboo.</description> <content:encoded><![CDATA[<p>I disagree, I think this way makes it more clear than the hacks of old. People become used to clicking any part of a &#8220;block&#8221; of content to see that content in more detail, and previously your only option was to put the content of each block element inside its own anchor (meaning multiple links to the same content; messy) or to use JavaScript which doesn&#8217;t show the URL in the status bar, doesn&#8217;t apply default &#8220;click&#8221; styles (which can be forgotten) and isn&#8217;t available to everyone. This method is far less open to abuse, and as people are saying it is only taboo because it has been taboo.</p> ]]></content:encoded> </item> <item><title>By: John Milmine</title><link>http://davidwalsh.name/html5-elements-links#comment-22863</link> <dc:creator>John Milmine</dc:creator> <pubDate>Fri, 25 Feb 2011 23:51:04 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-22863</guid> <description>I don&#039;t think elements should actually be inline/block elements in the first place. HTML is markup not style. Every element should be display agnostic.I have no problem with the above approach and think it brings clarity betweeen structure (HTML) and style (CSS).I will definitely use this.I don&#039;t see how href on every element is a good idea, it breaks down the definition of the element, as now a definition list is also a link???. Just so you can keep block/inline elements?!</description> <content:encoded><![CDATA[<p>I don&#8217;t think elements should actually be inline/block elements in the first place. HTML is markup not style. Every element should be display agnostic.</p><p>I have no problem with the above approach and think it brings clarity betweeen structure (HTML) and style (CSS).</p><p>I will definitely use this.</p><p>I don&#8217;t see how href on every element is a good idea, it breaks down the definition of the element, as now a definition list is also a link???. Just so you can keep block/inline elements?!</p> ]]></content:encoded> </item> <item><title>By: Ambroggio</title><link>http://davidwalsh.name/html5-elements-links#comment-21471</link> <dc:creator>Ambroggio</dc:creator> <pubDate>Wed, 01 Dec 2010 11:44:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-21471</guid> <description>If Firefox wouldn&#039;t have thrown chunkies in the past I&#039;d incorporated that one even before HTML5. This a-tag around block elements cleans up lots of code, makes it more structured and reuseable and additionally adds a lot of usability when done right. I.e. you can click a whole article teaser with photo, headline, intro text to get to the article instead of clicking on some tiny words showing &quot;Read more...&quot;Normally I solved that by shoving a lot of official inliners in there and styling them as block, like say give a span a div behaviour. which was ridiculous. (but using Javascript would have been worse).I can understand that it was a heritage flaw... since the a-tag started out as text and inline, the guys at wc3 wanted to keep the declarations clean and sensible, but it&#039;s much better this was.</description> <content:encoded><![CDATA[<p>If Firefox wouldn&#8217;t have thrown chunkies in the past I&#8217;d incorporated that one even before HTML5. This a-tag around block elements cleans up lots of code, makes it more structured and reuseable and additionally adds a lot of usability when done right. I.e. you can click a whole article teaser with photo, headline, intro text to get to the article instead of clicking on some tiny words showing &#8220;Read more&#8230;&#8221;</p><p>Normally I solved that by shoving a lot of official inliners in there and styling them as block, like say give a span a div behaviour. which was ridiculous. (but using Javascript would have been worse).</p><p>I can understand that it was a heritage flaw&#8230; since the a-tag started out as text and inline, the guys at wc3 wanted to keep the declarations clean and sensible, but it&#8217;s much better this was.</p> ]]></content:encoded> </item> <item><title>By: Trevor Saint</title><link>http://davidwalsh.name/html5-elements-links#comment-21085</link> <dc:creator>Trevor Saint</dc:creator> <pubDate>Mon, 25 Oct 2010 09:52:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-21085</guid> <description>Yes it feels very dirty.I was at first very reluctant to even style an element in this way.However keeping up with the HTML5 trends, I decided yes I would give it a go. Everything was looking great at first.But then... Random out of the blue the nicely designed element suddenly decided to act very strange Looking further into the issue i noted that Firefox was adding a whole bunch of dodgy code which was messing things up big time for me.So I had to revert back to the old drawing board. Those without js would get the functionality, but those with js would get the look and feel to accompany it.The firefox issue is as below:http://oli-studio.com/bugs/mozilla/block-level-links.html</description> <content:encoded><![CDATA[<p>Yes it feels very dirty.</p><p>I was at first very reluctant to even style an element in this way.</p><p>However keeping up with the HTML5 trends, I decided yes I would give it a go. Everything was looking great at first.</p><p>But then&#8230; Random out of the blue the nicely designed element suddenly decided to act very strange Looking further into the issue i noted that Firefox was adding a whole bunch of dodgy code which was messing things up big time for me.</p><p>So I had to revert back to the old drawing board. Those without js would get the functionality, but those with js would get the look and feel to accompany it.</p><p>The firefox issue is as below:</p><p><a
href="http://oli-studio.com/bugs/mozilla/block-level-links.html" rel="nofollow">http://oli-studio.com/bugs/mozilla/block-level-links.html</a></p> ]]></content:encoded> </item> <item><title>By: Tim</title><link>http://davidwalsh.name/html5-elements-links#comment-19250</link> <dc:creator>Tim</dc:creator> <pubDate>Mon, 09 Aug 2010 07:44:33 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-19250</guid> <description>Well, I&#039;m so used to make my &quot;HTML Validator&quot; show a green symbol ... X-)
On the other hand I don&#039;t care using CSS hacks and js workarounds in my code, so why shouldn&#039;t I wrap blocklevel elements in an inline anchor-tag?You can use span-tags inside an a-tag and make them block level elements with CSS, instead of using divs or other &quot;not so important&quot; semantic block elements, but I wouldn&#039;t like to replace a headline-tag with that method.But how about the semantic meaning of an a-tag, it&#039;s not only the validation it self that would give me a bad feeling about that. Think about search engines, screen reader and stuff like that. Using an &quot;A&quot; for a bigger text space just for the link function is not the real sense of HyperText ... well thats what I think.</description> <content:encoded><![CDATA[<p>Well, I&#8217;m so used to make my &#8220;HTML Validator&#8221; show a green symbol &#8230; X-)<br
/> On the other hand I don&#8217;t care using CSS hacks and js workarounds in my code, so why shouldn&#8217;t I wrap blocklevel elements in an inline anchor-tag?</p><p>You can use span-tags inside an a-tag and make them block level elements with CSS, instead of using divs or other &#8220;not so important&#8221; semantic block elements, but I wouldn&#8217;t like to replace a headline-tag with that method.</p><p>But how about the semantic meaning of an a-tag, it&#8217;s not only the validation it self that would give me a bad feeling about that. Think about search engines, screen reader and stuff like that. Using an &#8220;A&#8221; for a bigger text space just for the link function is not the real sense of HyperText &#8230; well thats what I think.</p> ]]></content:encoded> </item> <item><title>By: Igor Szyporyn</title><link>http://davidwalsh.name/html5-elements-links#comment-19127</link> <dc:creator>Igor Szyporyn</dc:creator> <pubDate>Sun, 01 Aug 2010 11:41:12 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5018#comment-19127</guid> <description>Is the anchor element now block level?If that has not changed then its just a supported hack more or less.Personally I do not like it, and will not be using it - just as easy to make a JS framework function - like a jQuery plugin and control it via classes.As in every element with the class &quot;is-link&quot; looks for a anchor href inside and applies this to a click event on self.</description> <content:encoded><![CDATA[<p>Is the anchor element now block level?</p><p>If that has not changed then its just a supported hack more or less.</p><p>Personally I do not like it, and will not be using it &#8211; just as easy to make a JS framework function &#8211; like a jQuery plugin and control it via classes.</p><p>As in every element with the class &#8220;is-link&#8221; looks for a anchor href inside and applies this to a click event on self.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/7 queries in 0.005 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 03:15:58 -->
