<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eddie On Everything &#187; HTML italics</title>
	<atom:link href="http://www.eddieoneverything.com/tag/html-italics/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eddieoneverything.com</link>
	<description>Don&#039;t get me started</description>
	<lastBuildDate>Mon, 23 Aug 2010 16:19:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What&#8217;s the difference between the Strong and the Bold tag in HTML?  &lt;Strong&gt; vs. &lt;B&gt;?</title>
		<link>http://www.eddieoneverything.com/programming/whats-the-difference-between-the-strong-and-the-bold-tag-in-html.php</link>
		<comments>http://www.eddieoneverything.com/programming/whats-the-difference-between-the-strong-and-the-bold-tag-in-html.php#comments</comments>
		<pubDate>Sun, 21 Feb 2010 00:16:44 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML b]]></category>
		<category><![CDATA[HTML bold]]></category>
		<category><![CDATA[HTML conventions]]></category>
		<category><![CDATA[HTML em]]></category>
		<category><![CDATA[HTML emphasis]]></category>
		<category><![CDATA[HTML i]]></category>
		<category><![CDATA[HTML italics]]></category>
		<category><![CDATA[HTML presentation]]></category>
		<category><![CDATA[HTML semantics]]></category>
		<category><![CDATA[HTML strong]]></category>
		<category><![CDATA[HTML structure]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[WWW publishing]]></category>

		<guid isPermaLink="false">http://www.eddieoneverything.com/?p=710</guid>
		<description><![CDATA[A few versions back, Wordpress&#8217; WYSIWYG editor started using the &#60;strong&#62; tag instead of the &#60;b&#62; tag.
And it wasn&#8217;t just Wordpress &#8211; a lot of software quietly made the shift was well.  Dreamweaver, for one.
Why the change?  What&#8217;s the difference between the two HTML tags?
As with most arguments of a religious nature, there&#8217;s both a [...]]]></description>
			<content:encoded><![CDATA[<p>A few versions back, Wordpress&#8217; WYSIWYG editor started using the &lt;strong&gt; tag instead of the &lt;b&gt; tag.</p>
<p>And it wasn&#8217;t just Wordpress &#8211; a lot of software quietly made the shift was well.  Dreamweaver, for one.</p>
<p>Why the change?  What&#8217;s the difference between the two HTML tags?</p>
<p>As with most arguments of a religious nature, there&#8217;s both a short and a long answer to those questions.</p>
<p><strong>Here&#8217;s the short answer: </strong> Functionally, there&#8217;s no difference whatsoever.  Browsers render the tag exactly the same way.</p>
<p><strong>And now, the long answer:</strong> But that short answer isn&#8217;t quite correct.  While there isn&#8217;t a functional difference, there <em>is</em> a semantic difference between &#8220;bold&#8221; and &#8220;strong.&#8221;   And it goes like this:</p>
<ul>
<li>In a piece of writing,  &#8221;bold&#8221; is a strictly <em>presentational</em> element &#8211; that is, when you say &#8220;bold,&#8221; you are instructing whatever is rendering the text to increase a font-weight.</li>
<li>&#8220;Strong,&#8221; on the other hand, is a <em>structural</em> element.  Strong says nothing about how text should be rendered &#8211; instead, it says &#8220;in the context of this written piece, this passage should be read/spoken with strong emphasis.&#8221;</li>
</ul>
<p>It may help to think of the situation in terms of a spoken piece, rather than a written piece.  In a spoken piece, if you want a speaker to emphasize a particular passage, you use the term &#8220;strong,&#8221; not &#8220;bold.&#8221;  You say, &#8220;This line should be spoken strongly!  With strong emphasis!&#8221;  Not &#8220;Say this line in bold.&#8221;</p>
<p>What we&#8217;re really talking about here is the <a href="http://en.wikipedia.org/wiki/Separation_of_presentation_and_content" target="_blank">separation of presentation and content</a>.   While the topic may seem trivial to many, to others it conjures up feelings as strong (or as bold) as one&#8217;s own religious convictions.  And for that reason, I&#8217;m going to steer clear.</p>
<p>Keep in mind that these distinctions also apply to the difference between the italicize tag, &#8220;&lt;i&gt;&#8221;, and the emphasis tag, or &#8220;&lt;em&gt;&#8221;.</p>
<p><strong>So which one should I use, &lt;strong&gt; or &lt;b&gt;?</strong> Technically, &#8220;&lt;strong&gt;&#8221; is correct when you are trying to emphasize a particular word or passage.  <a href="http://www.w3.org/" target="_blank">The World Wide Web Consortium (w3c)</a> recommends using &lt;strong&gt;, as it separates the presentation of the content from the content itself.</p>
<p>I suppose one could argue that using &#8220;&lt;b&gt;&#8221; rather than &#8220;&lt;strong&gt;&#8221; is correct when you are bolding something solely for presentation&#8217;s sake &#8211; like a section heading or visual marker of some sort. The W3C would probably disagree, saying that you should instead use a header tag (e.g. &lt;h3&gt;).  The W3C hates &lt;b&gt;, and loves well-structured content.</p>
<p>Still, you won&#8217;t find many downsides to using &#8220;&lt;b&gt;&#8221;.  So unless you&#8217;re in a large organization with guidelines on this topic, I&#8217;d say to go ahead and use whichever you prefer.</p>
<p>When I&#8217;m coding HTML by hand, I don&#8217;t like the extra keystrokes it takes to type those extra 5 letters, so I use a simple &lt;b&gt; tag.  When I use Wordpress&#8217; WYSIWYG editor, it uses the &#8220;&lt;strong&gt;&#8221; tag automatically, and I don&#8217;t mind one bit.   On this site, like most others, there is no functional difference between &#8220;strong&#8221; and &#8220;bold.&#8221;  So for me, (and probably for you, too,) it really doesn&#8217;t matter.</p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.eddieoneverything.com/articles/how-to-block-a-quote.php" title="How to Block a Quote">How to Block a Quote</a></li><li><a href="http://www.eddieoneverything.com/programming/how-to-set-a-class-name-using-javascript-in-ie-and-other-browsers.php" title="How To Set a Class Name using Javascript in IE and Other Browsers">How To Set a Class Name using Javascript in IE and Other Browsers</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eddieoneverything.com/programming/whats-the-difference-between-the-strong-and-the-bold-tag-in-html.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
