<?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:xhtml="http://www.w3.org/1999/xhtml"
	>
<channel>
	<title>Comments on: Semantic uses of &lt;div&gt; HTML tag</title>
	<atom:link href="http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/</link>
	<description>Guidelines for developing quality user interfaces</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:18:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Daniel</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-11062</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 26 Sep 2010 12:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-11062</guid>
		<description>Hi Jason,
I agree with you about &lt;div&gt; semantic is division. But if &lt;div&gt; means division, &lt;span&gt; means span (extension). That are its own semantic, its own meaning, not the meaning inferred to its content, that is what we look for when talking about semantic code.
Even so, I think both have a very important semantic roll that is to mean nothing but structure. When using &lt;div&gt; and &lt;span&gt; we are saying, hey!! I don&#039;t mean nothing, I&#039;m not a paragraph, not a tabular content, not a list, just a chunk of content. So to use it properly is very important. Not to abuse of them is essential for creating semantic structures.
But, as you say, we can use them more semanticly just applying classes and ids with a proper meaning that will be inherited by all its content.
A couple of days ago, I was hard arguing (888 chat lines) with my friend Waldo about that. He was defending that &lt;div&gt; and &lt;span&gt; are just structural and there was no way to give meaning to them cause machines doesn&#039;t understand them as they do with &lt;tags&gt;. But I&#039;d like to point out few nuances about that.
1. First. Which machines are we talking about? Accessibility tools, Google...? They all are systems created to satisfy human needs. They understand what we want them to understand.
2. Second. There are a lot of classes and other html attributes that already have meaning for those systems, as for example class=&quot;vote&quot; or rel=&quot;tag&quot; and that are becoming standards. Yes, I&#039;m talking about Microformats. And its function is to transfer a meaning that at the end will be useful for humans for example at the time of distinguishing which result on Google&#039;s SERP is more convenient for them.
3. Third point. w3c does not create standards, we do!! They &quot;just&quot; put some order in this cybernetic world and try to give a guide of which are the best practices and uses. HTML 5 exists because of semantic needs that before were filled with classes. The evolution of the web brings changes on users needs, and because of that, system must adapt to them and be better tools, more semantic and &quot;human&quot;.
That said, you will see, Jason, that I agree with you on the semantic meaning of classes over a &lt;tag&gt;, but not only a &lt;div&gt; or an &lt;span&gt;, over any &lt;tag&gt;. But let not try to see semantic meaning where there isn&#039;t. &lt;div&gt; is essentially structural if not accompanied by a microformat.

And Waldo, my dear, semantics are semantics who ever comes to read the information. Is an absolute concept. No matters if no one can read it now. Doesn&#039;t matter if in a web context its not relevant, cause its not an standard yet. The meaning still there, waiting its own time of glory!! ;)
Oh! one more think, dress up your avatar, Waldo, please. Seeing your nude chest is not serious for a public argument, jeje

Thanks Jason, and still writing about semantics.</description>
		<content:encoded><![CDATA[<p>Hi Jason,<br />
I agree with you about &lt;div&gt; semantic is division. But if &lt;div&gt; means division, &lt;span&gt; means span (extension). That are its own semantic, its own meaning, not the meaning inferred to its content, that is what we look for when talking about semantic code.<br />
Even so, I think both have a very important semantic roll that is to mean nothing but structure. When using &lt;div&gt; and &lt;span&gt; we are saying, hey!! I don&#8217;t mean nothing, I&#8217;m not a paragraph, not a tabular content, not a list, just a chunk of content. So to use it properly is very important. Not to abuse of them is essential for creating semantic structures.<br />
But, as you say, we can use them more semanticly just applying classes and ids with a proper meaning that will be inherited by all its content.<br />
A couple of days ago, I was hard arguing (888 chat lines) with my friend Waldo about that. He was defending that &lt;div&gt; and &lt;span&gt; are just structural and there was no way to give meaning to them cause machines doesn&#8217;t understand them as they do with &lt;tags&gt;. But I&#8217;d like to point out few nuances about that.<br />
1. First. Which machines are we talking about? Accessibility tools, Google&#8230;? They all are systems created to satisfy human needs. They understand what we want them to understand.<br />
2. Second. There are a lot of classes and other html attributes that already have meaning for those systems, as for example class=&quot;vote&quot; or rel=&quot;tag&quot; and that are becoming standards. Yes, I&#8217;m talking about Microformats. And its function is to transfer a meaning that at the end will be useful for humans for example at the time of distinguishing which result on Google&#8217;s SERP is more convenient for them.<br />
3. Third point. w3c does not create standards, we do!! They &quot;just&quot; put some order in this cybernetic world and try to give a guide of which are the best practices and uses. HTML 5 exists because of semantic needs that before were filled with classes. The evolution of the web brings changes on users needs, and because of that, system must adapt to them and be better tools, more semantic and &quot;human&quot;.<br />
That said, you will see, Jason, that I agree with you on the semantic meaning of classes over a &lt;tag&gt;, but not only a &lt;div&gt; or an &lt;span&gt;, over any &lt;tag&gt;. But let not try to see semantic meaning where there isn&#8217;t. &lt;div&gt; is essentially structural if not accompanied by a microformat.</p>
<p>And Waldo, my dear, semantics are semantics who ever comes to read the information. Is an absolute concept. No matters if no one can read it now. Doesn&#8217;t matter if in a web context its not relevant, cause its not an standard yet. The meaning still there, waiting its own time of glory!! <img src='http://www.flexewebs.com/semantix/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Oh! one more think, dress up your avatar, Waldo, please. Seeing your nude chest is not serious for a public argument, jeje</p>
<p>Thanks Jason, and still writing about semantics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waldo</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10984</link>
		<dc:creator>waldo</dc:creator>
		<pubDate>Wed, 22 Sep 2010 13:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10984</guid>
		<description>Case closed. thanks for for infinite patience.</description>
		<content:encoded><![CDATA[<p>Case closed. thanks for for infinite patience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Grant, BSc, MSc</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10983</link>
		<dc:creator>Jason Grant, BSc, MSc</dc:creator>
		<pubDate>Wed, 22 Sep 2010 12:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10983</guid>
		<description>Waldo, 

Block/Inline status of an element has nothing to do with semantics.

My point is that span  means nothing, while div means &#039;division&#039; (even according to W3C). 

From that very point it is simple to work out that div has more meaning (semantics) to it than span. 

What we infer further from that is down to us as developers and using our common sense. 

It is the case that many standard ways of using divs have been converted into actual tags in HTML5 (examples: header, footer, etc.). 

This goes further to support my theory.

Case closed?</description>
		<content:encoded><![CDATA[<p>Waldo, </p>
<p>Block/Inline status of an element has nothing to do with semantics.</p>
<p>My point is that span  means nothing, while div means &#8216;division&#8217; (even according to W3C). </p>
<p>From that very point it is simple to work out that div has more meaning (semantics) to it than span. </p>
<p>What we infer further from that is down to us as developers and using our common sense. </p>
<p>It is the case that many standard ways of using divs have been converted into actual tags in HTML5 (examples: header, footer, etc.). </p>
<p>This goes further to support my theory.</p>
<p>Case closed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waldo</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10978</link>
		<dc:creator>waldo</dc:creator>
		<pubDate>Wed, 22 Sep 2010 10:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10978</guid>
		<description>So in your opinion a DIV has more weight semantically than a Span, just because its &#039;native nature&#039; is a display:block ? 

What an interesting point of view. 

 has gained +1 on semantic meaning.  remains same level !! poooor Span tags! 

Block elements and Span elements are mere separators to me, each in it&#039;s own display &#039;realm&#039;. blocks are not semantic (or more semantic) by it&#039;s own nature.

I&#039;d like to know some other opinions, people, join the conversation! ^_^</description>
		<content:encoded><![CDATA[<p>So in your opinion a DIV has more weight semantically than a Span, just because its &#8216;native nature&#8217; is a display:block ? </p>
<p>What an interesting point of view. </p>
<p> has gained +1 on semantic meaning.  remains same level !! poooor Span tags! </p>
<p>Block elements and Span elements are mere separators to me, each in it&#8217;s own display &#8216;realm&#8217;. blocks are not semantic (or more semantic) by it&#8217;s own nature.</p>
<p>I&#8217;d like to know some other opinions, people, join the conversation! ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Grant, BSc, MSc</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10977</link>
		<dc:creator>Jason Grant, BSc, MSc</dc:creator>
		<pubDate>Wed, 22 Sep 2010 10:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10977</guid>
		<description>In this Blog I am using &#039;semantic&#039; not to mean only &#039;machine understandable&#039; but human understandable also. 

Although W3C states that &lt; div &gt; has no semantic meaning associated with it, as developers we will know that using &lt; div &gt; has more weight to it than using a &lt; span &gt; which also according to W3C has no semantic meaning associated with it. 

So I personally like to make this delineation in my thinking and description of this tag.

W3C does not necessarily get everything 100% explained and therefore it is a &#039;guideline&#039; and not a &#039;manual&#039;. As developers we need to make some additional inferences in some places to make the code even better and go an extra mile for us and the other people who might want to use it and reuse it.</description>
		<content:encoded><![CDATA[<p>In this Blog I am using &#8216;semantic&#8217; not to mean only &#8216;machine understandable&#8217; but human understandable also. </p>
<p>Although W3C states that < div > has no semantic meaning associated with it, as developers we will know that using < div > has more weight to it than using a < span > which also according to W3C has no semantic meaning associated with it. </p>
<p>So I personally like to make this delineation in my thinking and description of this tag.</p>
<p>W3C does not necessarily get everything 100% explained and therefore it is a &#8216;guideline&#8217; and not a &#8216;manual&#8217;. As developers we need to make some additional inferences in some places to make the code even better and go an extra mile for us and the other people who might want to use it and reuse it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waldo</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10976</link>
		<dc:creator>waldo</dc:creator>
		<pubDate>Wed, 22 Sep 2010 10:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10976</guid>
		<description>Do not get me wrong, I do code my css classes semantically, and I believe it should be human understandable, and all the positive impacts that this coding behaviour gives on your project. 

But to me, the statement that a DIV can be semantic, is a relative percepcion, and conflicts with the common understanding of what &#039;semanti&#039;c could mean when we speak about web.

This would explain why the W3c states DIV tags have no semanting meaning.</description>
		<content:encoded><![CDATA[<p>Do not get me wrong, I do code my css classes semantically, and I believe it should be human understandable, and all the positive impacts that this coding behaviour gives on your project. </p>
<p>But to me, the statement that a DIV can be semantic, is a relative percepcion, and conflicts with the common understanding of what &#8216;semanti&#8217;c could mean when we speak about web.</p>
<p>This would explain why the W3c states DIV tags have no semanting meaning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waldo</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10974</link>
		<dc:creator>waldo</dc:creator>
		<pubDate>Wed, 22 Sep 2010 10:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10974</guid>
		<description>Disagree. But our conversation deeps into concepts and definitions, which gets funny, thinking that it started from the semantic meaning of a DIV. 

&lt;a href=&quot;http://en.wikipedia.org/wiki/Semantic_Web&quot; rel=&quot;nofollow&quot;&gt;Semantic Web&lt;/a&gt;:

&quot;Semantic Web is a group of methods and technologies to allow &lt;strong&gt;machines&lt;/strong&gt; to understand the meaning - or &quot;semantics&quot; - of information on the World Wide Web.&quot;

I do agree with the Wikipedia and Mr. Tim Berners-Lee.: We&#039;re building web so is understandable by machines. The interpretation of our own code by ourselves is in within that definition not necessary. 

It has nothing to do with making it more undertandable to ourselves. We WERE supposed to understand it from the beggining. Coding for machines so they understand the relations between content should contemplate the already recognized Xhtml tags and not our own nicknaming for certain html tags.</description>
		<content:encoded><![CDATA[<p>Disagree. But our conversation deeps into concepts and definitions, which gets funny, thinking that it started from the semantic meaning of a DIV. </p>
<p><a href="http://en.wikipedia.org/wiki/Semantic_Web" rel="nofollow">Semantic Web</a>:</p>
<p>&#8220;Semantic Web is a group of methods and technologies to allow <strong>machines</strong> to understand the meaning &#8211; or &#8220;semantics&#8221; &#8211; of information on the World Wide Web.&#8221;</p>
<p>I do agree with the Wikipedia and Mr. Tim Berners-Lee.: We&#8217;re building web so is understandable by machines. The interpretation of our own code by ourselves is in within that definition not necessary. </p>
<p>It has nothing to do with making it more undertandable to ourselves. We WERE supposed to understand it from the beggining. Coding for machines so they understand the relations between content should contemplate the already recognized Xhtml tags and not our own nicknaming for certain html tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Grant, BSc, MSc</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10973</link>
		<dc:creator>Jason Grant, BSc, MSc</dc:creator>
		<pubDate>Wed, 22 Sep 2010 09:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10973</guid>
		<description>@Waldo Major correction coming: 

Semantic Web/Semantic Markup = &#039;The act of writing markup/code that conveys meaning to &lt;strong&gt;humans and&lt;/strong&gt; machines&#039;.

Semantic code impacts on: 
&lt;ul&gt;
	&lt;li&gt;Human readability&lt;/li&gt;
&lt;li&gt;Machine understanding&lt;/li&gt;
&lt;li&gt;IA of the system&lt;/li&gt;
&lt;li&gt;Reusability and usability of the system (internal and external)&lt;/li&gt;
&lt;/ul&gt;

All of the above points are very important and should not be disregarded in order to build best quality systems.</description>
		<content:encoded><![CDATA[<p>@Waldo Major correction coming: </p>
<p>Semantic Web/Semantic Markup = &#8216;The act of writing markup/code that conveys meaning to <strong>humans and</strong> machines&#8217;.</p>
<p>Semantic code impacts on: </p>
<ul>
<li>Human readability</li>
<li>Machine understanding</li>
<li>IA of the system</li>
<li>Reusability and usability of the system (internal and external)</li>
</ul>
<p>All of the above points are very important and should not be disregarded in order to build best quality systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waldo</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10971</link>
		<dc:creator>waldo</dc:creator>
		<pubDate>Wed, 22 Sep 2010 09:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10971</guid>
		<description>I do agree with your point, however i think it would be worthwhile distinguishing between Semantic Web, Semantic Markup and Semantics as a theory. They are not one and the same.

Semantic naming conventions are valid, e.g this article from Antonio Lupetti http://woork.blogspot.com/2008/11/css-coding-semantic-approach-in-naming.html

The term semantics is a general theory, it is only when applied to a field that its meaning becomes filtered (e.g Semantic Web, Semantic Markup, Semantic Classes).

Semantics = ‘The study of how language conveys meaning’

Semantic Web/Semantic Markup = ‘The act of writing markup/code that conveys meaning to machines’

Therefore:
Semantic Class Names = ‘The act of writing classes that convey an elements meaning/context’

Class names have no need to be machine readable, their semanticism lies in their conveyed meaning to the intended recipients. Us.

I think we have gotten lost in semantics here.</description>
		<content:encoded><![CDATA[<p>I do agree with your point, however i think it would be worthwhile distinguishing between Semantic Web, Semantic Markup and Semantics as a theory. They are not one and the same.</p>
<p>Semantic naming conventions are valid, e.g this article from Antonio Lupetti <a href="http://woork.blogspot.com/2008/11/css-coding-semantic-approach-in-naming.html" rel="nofollow">http://woork.blogspot.com/2008/11/css-coding-semantic-approach-in-naming.html</a></p>
<p>The term semantics is a general theory, it is only when applied to a field that its meaning becomes filtered (e.g Semantic Web, Semantic Markup, Semantic Classes).</p>
<p>Semantics = ‘The study of how language conveys meaning’</p>
<p>Semantic Web/Semantic Markup = ‘The act of writing markup/code that conveys meaning to machines’</p>
<p>Therefore:<br />
Semantic Class Names = ‘The act of writing classes that convey an elements meaning/context’</p>
<p>Class names have no need to be machine readable, their semanticism lies in their conveyed meaning to the intended recipients. Us.</p>
<p>I think we have gotten lost in semantics here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Grant, BSc, MSc</title>
		<link>http://www.flexewebs.com/semantix/semantic-uses-of-div-html-tag/comment-page-1/#comment-10970</link>
		<dc:creator>Jason Grant, BSc, MSc</dc:creator>
		<pubDate>Wed, 22 Sep 2010 09:11:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexewebs.com/semantix/?p=21#comment-10970</guid>
		<description>@Waldo You are right, to some extent. 

However, class names are a major part of the semantic expression vocabulary. Their are the very core of object orientation and as such should be remembered and treated as very important in the overall technical architecture of systems we build. 

For example, class name such as .node1 is asking for trouble in long term as it does not mean much. Class name such as .page can serve a very easy to comprehend, meaningful and useful role in the system architecture.</description>
		<content:encoded><![CDATA[<p>@Waldo You are right, to some extent. </p>
<p>However, class names are a major part of the semantic expression vocabulary. Their are the very core of object orientation and as such should be remembered and treated as very important in the overall technical architecture of systems we build. </p>
<p>For example, class name such as .node1 is asking for trouble in long term as it does not mean much. Class name such as .page can serve a very easy to comprehend, meaningful and useful role in the system architecture.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
