<?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/"
		>
<channel>
	<title>Comments on: The small &amp; hr elements</title>
	<atom:link href="http://html5doctor.com/small-hr-element/feed/" rel="self" type="application/rss+xml" />
	<link>http://html5doctor.com/small-hr-element/</link>
	<description>helping you implement HTML5 today</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:37:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joe</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2968</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 02 Apr 2010 04:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2968</guid>
		<description>I don&#039;t recall the last time I have used &lt;small&gt; or &lt;hr&gt; tags...

It&#039;s interesting that they are being used in this manner, as opposed to being removed totally... I&#039;d like to see how this is treated by the design community. I think it&#039;s pretty interesting.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t recall the last time I have used &lt;small&gt; or &lt;hr&gt; tags&#8230;</p>
<p>It&#8217;s interesting that they are being used in this manner, as opposed to being removed totally&#8230; I&#8217;d like to see how this is treated by the design community. I think it&#8217;s pretty interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli Studholme</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2685</link>
		<dc:creator>Oli Studholme</dc:creator>
		<pubDate>Wed, 31 Mar 2010 03:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2685</guid>
		<description>@Sean Fraser — there’s no problem styling &lt;a href=&quot;http://html5doctor.com/the-section-element/&quot; title=&quot;The section element &#124; HTML5 Doctor&quot; rel=&quot;nofollow&quot;&gt;the &lt;code&gt;&lt;section&gt;&lt;/code&gt; element&lt;/a&gt; as you would a &lt;code&gt;&lt;div&gt;&lt;/code&gt;, as it’s basically a formalised &lt;code&gt;&lt;div class=&quot;section&quot;&gt;&lt;/code&gt;. I think you may be thinking of something like “use &lt;code&gt;&lt;div&gt;&lt;/code&gt; not &lt;code&gt;&lt;section&gt;&lt;/code&gt; if you only need a container element to apply styles to”. A great rule of thumb is to &lt;strong&gt;use the element with the most accurate semantics, then change the presentation as required via CSS&lt;/strong&gt;. The only other time you may need a &lt;code&gt;&lt;div&gt;&lt;/code&gt; wrapper is for &lt;a href=&quot;http://html5doctor.com/block-level-links-in-html-5/&quot; title=&quot;&#8220;Block-level&#8221; links in HTML5 &#124; HTML5 Doctor&quot; rel=&quot;nofollow&quot;&gt;block-level links&lt;/a&gt;, but that’s only to protect FireFox from the vomit bug (not for styling).</description>
		<content:encoded><![CDATA[<p>@Sean Fraser — there’s no problem styling <a href="http://html5doctor.com/the-section-element/" title="The section element | HTML5 Doctor" rel="nofollow">the <code>&lt;section&gt;</code> element</a> as you would a <code>&lt;div&gt;</code>, as it’s basically a formalised <code>&lt;div class="section"&gt;</code>. I think you may be thinking of something like “use <code>&lt;div&gt;</code> not <code>&lt;section&gt;</code> if you only need a container element to apply styles to”. A great rule of thumb is to <strong>use the element with the most accurate semantics, then change the presentation as required via CSS</strong>. The only other time you may need a <code>&lt;div&gt;</code> wrapper is for <a href="http://html5doctor.com/block-level-links-in-html-5/" title="&#8220;Block-level&#8221; links in HTML5 | HTML5 Doctor" rel="nofollow">block-level links</a>, but that’s only to protect FireFox from the vomit bug (not for styling).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Fraser</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2681</link>
		<dc:creator>Sean Fraser</dc:creator>
		<pubDate>Wed, 31 Mar 2010 03:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2681</guid>
		<description>@Oli,

Thank you for the clarification. Still, I remember reading somewhere on this site that the &lt;code&gt;&lt;section&gt;&lt;/code&gt; element cannot be styled and, if styling is required,  to use a &lt;code&gt;&lt;div&gt;&lt;/code&gt; so it still remains that - for stylistic presentation a second element must be used to visually divide content. Sectioning Content elements &lt;em&gt;thematically&lt;/em&gt; divide content &quot;sections&quot; for the outline but not for visual presentation.

How does Ian find the time?

Thanks again.

Sean</description>
		<content:encoded><![CDATA[<p>@Oli,</p>
<p>Thank you for the clarification. Still, I remember reading somewhere on this site that the <code>&lt;section&gt;</code> element cannot be styled and, if styling is required,  to use a <code>&lt;div&gt;</code> so it still remains that &#8211; for stylistic presentation a second element must be used to visually divide content. Sectioning Content elements <em>thematically</em> divide content &#8220;sections&#8221; for the outline but not for visual presentation.</p>
<p>How does Ian find the time?</p>
<p>Thanks again.</p>
<p>Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli Studholme</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2676</link>
		<dc:creator>Oli Studholme</dc:creator>
		<pubDate>Wed, 31 Mar 2010 02:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2676</guid>
		<description>@Sean Fraser — I’m sorry, when you said “between sections” I thought you meant between &lt;code&gt;&lt;section&gt;&lt;/code&gt;s. However in checking your example page I started to worry I hadn’t been able to confirm where exactly &lt;code&gt;&lt;hr&gt;&lt;/code&gt; can be used. I read the spec to mean “between flow elements, but not between sectioning or heading elements,” but that was never stated explicitly.

So I asked Hixie and found out that my ‘stricter’ reading of the &lt;code&gt;&lt;hr&gt;&lt;/code&gt; element was incorrect (see &lt;a href=&quot;#element-hr&quot; rel=&quot;nofollow&quot;&gt;changes above&lt;/a&gt;). The main difference between &lt;code&gt;&lt;hr&gt;&lt;/code&gt; in HTML4 and HTML5 is that it is now media-independent, so it represents a section or thematic break regardless of presentation. While &lt;code&gt;&lt;hr&gt;&lt;/code&gt; &lt;em&gt;shouldn’t&lt;/em&gt; be used to separate &lt;code&gt;&lt;section&gt;&lt;/code&gt;s of a site, this is because the sectioning and heading elements already have the semantics of indicating a thematic break (so &lt;code&gt;&lt;hr&gt;&lt;/code&gt; is unnecessary), not my incorrect assumption that they weren’t paragraph-level content.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>@Sean Fraser — I’m sorry, when you said “between sections” I thought you meant between <code>&lt;section&gt;</code>s. However in checking your example page I started to worry I hadn’t been able to confirm where exactly <code>&lt;hr&gt;</code> can be used. I read the spec to mean “between flow elements, but not between sectioning or heading elements,” but that was never stated explicitly.</p>
<p>So I asked Hixie and found out that my ‘stricter’ reading of the <code>&lt;hr&gt;</code> element was incorrect (see <a href="#element-hr" rel="nofollow">changes above</a>). The main difference between <code>&lt;hr&gt;</code> in HTML4 and HTML5 is that it is now media-independent, so it represents a section or thematic break regardless of presentation. While <code>&lt;hr&gt;</code> <em>shouldn’t</em> be used to separate <code>&lt;section&gt;</code>s of a site, this is because the sectioning and heading elements already have the semantics of indicating a thematic break (so <code>&lt;hr&gt;</code> is unnecessary), not my incorrect assumption that they weren’t paragraph-level content.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Fraser</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2592</link>
		<dc:creator>Sean Fraser</dc:creator>
		<pubDate>Thu, 25 Mar 2010 06:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2592</guid>
		<description>@Oli,

Yes, the Conformance Check may throw an error message someday. I prefer using &lt;code&gt;&lt;hr&gt;&lt;/code&gt; between sections for ease-of-use because setting top/bottom borders (with padding + a background image + adding a class on the appropriate last paragraphs in the &lt;em&gt;section&lt;/em&gt;) becomes troublesome for me; and, it&#039;s a branding/aesthetic/design thing: &lt;a href=&quot;http://www.elementary-group-standards.com/html-elements/sections/article-element&quot; title=&quot;An Example&quot; rel=&quot;nofollow&quot;&gt;An example&lt;/a&gt;.

Sean</description>
		<content:encoded><![CDATA[<p>@Oli,</p>
<p>Yes, the Conformance Check may throw an error message someday. I prefer using <code>&lt;hr&gt;</code> between sections for ease-of-use because setting top/bottom borders (with padding + a background image + adding a class on the appropriate last paragraphs in the <em>section</em>) becomes troublesome for me; and, it&#8217;s a branding/aesthetic/design thing: <a href="http://www.elementary-group-standards.com/html-elements/sections/article-element" title="An Example" rel="nofollow">An example</a>.</p>
<p>Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli Studholme</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2590</link>
		<dc:creator>Oli Studholme</dc:creator>
		<pubDate>Thu, 25 Mar 2010 02:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2590</guid>
		<description>@agence internet — thank you :)

@Steph — the new definition means there’s less need of them than there used to be, but you can see their use in the sample article by disabling CSS. The default browser rules aren’t pretty, but they do indicate there’s a change going on.

@Sean Fraser — the &lt;em&gt;paragraph-level&lt;/em&gt; bit in “&lt;q cite=&quot;http://dev.w3.org/html5/markup/hr.html&quot;&gt;The hr element represents a paragraph-level thematic break&lt;/q&gt;” is defined as:

&lt;blockquote cite=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#paragraphs&quot;&gt;A paragraph is typically a run of phrasing content that forms a block of text with one or more sentences that discuss a particular topic, as in typography, but can also be used for more general thematic grouping. (&lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#paragraphs&quot; rel=&quot;nofollow&quot;&gt;WHATWG specification&lt;/a&gt;)&lt;/blockquote&gt;

Apparently it doesn’t have to be between &lt;code&gt;&lt;p&gt;&lt;/code&gt; paragraphs, but I read this as it’s supposed to be between &lt;em&gt;paragraphs&lt;/em&gt; ;-) Of course nothing terrible will happen if you use it between sections, but it’s possible that the validator may flag this at some later date.

Out of curiosity why do you want to use &lt;code&gt;&lt;hr&gt;&lt;/code&gt; between sections rather than, for example, a top or bottom border on &lt;code&gt;&lt;section&gt;&lt;/code&gt;?</description>
		<content:encoded><![CDATA[<p>@agence internet — thank you <img src='http://html5doctor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@Steph — the new definition means there’s less need of them than there used to be, but you can see their use in the sample article by disabling CSS. The default browser rules aren’t pretty, but they do indicate there’s a change going on.</p>
<p>@Sean Fraser — the <em>paragraph-level</em> bit in “<q cite="http://dev.w3.org/html5/markup/hr.html">The hr element represents a paragraph-level thematic break</q>” is defined as:</p>
<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#paragraphs"><p>A paragraph is typically a run of phrasing content that forms a block of text with one or more sentences that discuss a particular topic, as in typography, but can also be used for more general thematic grouping. (<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#paragraphs" rel="nofollow">WHATWG specification</a>)</p></blockquote>
<p>Apparently it doesn’t have to be between <code>&lt;p&gt;</code> paragraphs, but I read this as it’s supposed to be between <em>paragraphs</em> <img src='http://html5doctor.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Of course nothing terrible will happen if you use it between sections, but it’s possible that the validator may flag this at some later date.</p>
<p>Out of curiosity why do you want to use <code>&lt;hr&gt;</code> between sections rather than, for example, a top or bottom border on <code>&lt;section&gt;</code>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Fraser</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2572</link>
		<dc:creator>Sean Fraser</dc:creator>
		<pubDate>Sun, 21 Mar 2010 17:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2572</guid>
		<description>&lt;code&gt;hr&lt;/code&gt; did represent Horizontal Rule in HTML 4.01. And, as much as I appreciate the narrow definition for use in HTML 5, I prefer to use &lt;code&gt;hr&lt;/code&gt; as a &lt;em&gt;thematic break in content&lt;/em&gt; section-level as well as paragraph-level. The HTML 5 Validator does not issue an error during validation when this element is used in places of the markup other than paragraphs; therefore, I will continue to use it as an &lt;i&gt;all-level&lt;/i&gt; element since the specification states &lt;q cite=&quot;http://www.w3.org/TR/html5/semantics.html#the-hr-element&quot;&gt;Contexts in which this element may be used: Where flow content is expected.&lt;/q&gt; and Flow Content is defined as &lt;q cite=&quot;http://www.w3.org/TR/html5/dom.html#flow-content&quot;&gt;Most elements that are used in the body of documents and applications are categorized as flow content.&lt;/q&gt;

The contexts exceed the &lt;code&gt;hr&lt;/code&gt; use in paragraphs only.</description>
		<content:encoded><![CDATA[<p><code>hr</code> did represent Horizontal Rule in HTML 4.01. And, as much as I appreciate the narrow definition for use in HTML 5, I prefer to use <code>hr</code> as a <em>thematic break in content</em> section-level as well as paragraph-level. The HTML 5 Validator does not issue an error during validation when this element is used in places of the markup other than paragraphs; therefore, I will continue to use it as an <i>all-level</i> element since the specification states <q cite="http://www.w3.org/TR/html5/semantics.html#the-hr-element">Contexts in which this element may be used: Where flow content is expected.</q> and Flow Content is defined as <q cite="http://www.w3.org/TR/html5/dom.html#flow-content">Most elements that are used in the body of documents and applications are categorized as flow content.</q></p>
<p>The contexts exceed the <code>hr</code> use in paragraphs only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steph</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2565</link>
		<dc:creator>Steph</dc:creator>
		<pubDate>Sat, 20 Mar 2010 16:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2565</guid>
		<description>The whole concept of hr&#039;s still confuse me.  They&#039;re the least needed.</description>
		<content:encoded><![CDATA[<p>The whole concept of hr&#8217;s still confuse me.  They&#8217;re the least needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agence internet</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2562</link>
		<dc:creator>agence internet</dc:creator>
		<pubDate>Sat, 20 Mar 2010 14:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2562</guid>
		<description>about the technique, i would have think it wasnot interesting but your exemples are interstings</description>
		<content:encoded><![CDATA[<p>about the technique, i would have think it wasnot interesting but your exemples are interstings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli Studholme</title>
		<link>http://html5doctor.com/small-hr-element/comment-page-1/#comment-2560</link>
		<dc:creator>Oli Studholme</dc:creator>
		<pubDate>Sat, 20 Mar 2010 14:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1506#comment-2560</guid>
		<description>@Dan M — thanks! I’ll pay you later ;-)

@Patrick — the justification is removing solely presentational elements, and making elements media-independent. Making up new elements would be nice, but repurposing has the advantage of support in current browsers (IE, cough). Also while e.g. &lt;code&gt;&lt;small&gt;&lt;/code&gt; may not be as nice as &lt;code&gt;&lt;©&gt;&lt;/code&gt;, that’s actually what many people use &lt;code&gt;&lt;small&gt;&lt;/code&gt; for these days.

Regarding &lt;code&gt;&lt;div&gt;&lt;/code&gt; the spec states &lt;q cite=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element&quot;&gt;The div element has no special meaning at all&lt;/q&gt; (&lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element&quot; title=&quot;4.5 Grouping content — HTML5 (including next generation additions still in development)&quot; rel=&quot;nofollow&quot;&gt;#&lt;/a&gt;), so there’s no explicit separation role, although there would be with &lt;code&gt;&lt;section&gt;&lt;/code&gt; or &lt;code&gt;&lt;article&gt;&lt;/code&gt;. Finally &lt;code&gt;&lt;hr&gt;&lt;/code&gt; is for a “thematic break,” which may be different to what you mean by “separation of blocks of content”.

@Aaron Witherow — try finding a WYSIWYM plugin instead (&lt;a href=&quot;http://www.wymeditor.org/&quot; title=&quot;WYMeditor - web-based XHTML editor - Home&quot; rel=&quot;nofollow&quot;&gt;WYM Editor&lt;/a&gt;, &lt;a href=&quot;http://wmd-editor.com/demo&quot; title=&quot;wmd - Demo&quot; rel=&quot;nofollow&quot;&gt;WMD&lt;/a&gt;), or at least customising a WYSIWYG plugin to only show semantic options and produce the code you want. I’d also recommend producing a style guide with instructions on how to get the effects the client wants in the plugin. If you’re allowing direct HTML input… well… :D Finally while people will surely write crap markup in HTML5 too, that’s what they’ve always done and the web still works. I think we just have to do our best.

@dkdenz — thanks for pointing out that IE7 and lower are crap at doing image replacement on &lt;code&gt;&lt;hr&gt;&lt;/code&gt; (surprise!). The old-skool technique is to apply the style to a wrapper &lt;code&gt;&lt;div&gt;&lt;/code&gt; and hide the &lt;code&gt;&lt;hr&gt;&lt;/code&gt;, but I’ve updated the article with a link to a workaround you can try. You could also just hide the &lt;code&gt;&lt;hr&gt;&lt;/code&gt; in an IE7-and-lower stylesheet :)

@Joannie — Why are you bothered? It sounds like the realigned definition matches your use! :D</description>
		<content:encoded><![CDATA[<p>@Dan M — thanks! I’ll pay you later <img src='http://html5doctor.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>@Patrick — the justification is removing solely presentational elements, and making elements media-independent. Making up new elements would be nice, but repurposing has the advantage of support in current browsers (IE, cough). Also while e.g. <code>&lt;small&gt;</code> may not be as nice as <code>&lt;©&gt;</code>, that’s actually what many people use <code>&lt;small&gt;</code> for these days.</p>
<p>Regarding <code>&lt;div&gt;</code> the spec states <q cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element">The div element has no special meaning at all</q> (<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element" title="4.5 Grouping content — HTML5 (including next generation additions still in development)" rel="nofollow">#</a>), so there’s no explicit separation role, although there would be with <code>&lt;section&gt;</code> or <code>&lt;article&gt;</code>. Finally <code>&lt;hr&gt;</code> is for a “thematic break,” which may be different to what you mean by “separation of blocks of content”.</p>
<p>@Aaron Witherow — try finding a WYSIWYM plugin instead (<a href="http://www.wymeditor.org/" title="WYMeditor - web-based XHTML editor - Home" rel="nofollow">WYM Editor</a>, <a href="http://wmd-editor.com/demo" title="wmd - Demo" rel="nofollow">WMD</a>), or at least customising a WYSIWYG plugin to only show semantic options and produce the code you want. I’d also recommend producing a style guide with instructions on how to get the effects the client wants in the plugin. If you’re allowing direct HTML input… well… <img src='http://html5doctor.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Finally while people will surely write crap markup in HTML5 too, that’s what they’ve always done and the web still works. I think we just have to do our best.</p>
<p>@dkdenz — thanks for pointing out that IE7 and lower are crap at doing image replacement on <code>&lt;hr&gt;</code> (surprise!). The old-skool technique is to apply the style to a wrapper <code>&lt;div&gt;</code> and hide the <code>&lt;hr&gt;</code>, but I’ve updated the article with a link to a workaround you can try. You could also just hide the <code>&lt;hr&gt;</code> in an IE7-and-lower stylesheet <img src='http://html5doctor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@Joannie — Why are you bothered? It sounds like the realigned definition matches your use! <img src='http://html5doctor.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
