<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>has_many :thoughts: These are a few of my favorite HTML tags...</title>
    <link>http://blog.kineticweb.com/articles/2007/05/12/these-are-a-few-of-my-favorite-html-tags</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>These are a few of my favorite HTML tags...</title>
      <description>&lt;p&gt;When we began the switch to rails about 6 months ago, I also started to push a transition to &lt;span class="caps"&gt;CSS&lt;/span&gt;-based designs and away from tables based layouts. I saw great value in using more semantic &lt;span class="caps"&gt;HTML&lt;/span&gt; which wrote cleaner code and also provided a separation between display formatting and actual content.&lt;/p&gt;


	&lt;p&gt;This transition has opened me up to a bunch of &lt;span class="caps"&gt;HTML&lt;/span&gt; tags that I rarely used before, or even new existed. And so, I present, my favorite &lt;span class="caps"&gt;HTML&lt;/span&gt; tags:&lt;/p&gt;


&lt;dl&gt;
  &lt;dt&gt;&lt;code&gt;dl dt dd&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Definition List, Data, and Term are really handy when you have a list of items you need to describe. The default style on most browsers bolds the Term and indents the Data underneath it Which is okay but can be easily overwritten with &lt;span class="caps"&gt;CSS&lt;/span&gt;.&lt;/dd&gt;

  &lt;dt&gt;&lt;code&gt;h1&lt;/code&gt;..&lt;code&gt;h6&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;I remember using these way back in &lt;span class="caps"&gt;HTML 1&lt;/span&gt;.0 but somehow I stopped and ended up with &lt;code&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;Headline&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;/code&gt;. I can&amp;#8217;t understate the usefulness of headline tags.&lt;/dd&gt;

  &lt;dt&gt;&lt;code&gt;ul&lt;/code&gt; and &lt;code&gt;li&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;The power of Unordered Lists is just incredible when you realize how they can be styled in such diverse ways with &lt;span class="caps"&gt;CSS&lt;/span&gt;. Whenever I find myself with a list items (often links) I use &lt;code&gt;ul&lt;/code&gt;.&lt;/dd&gt;

  &lt;dt&gt;&lt;code&gt;label&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;I always used to put a bunch of fields in a form in a big table with two columns. But with &lt;code&gt;label&lt;/code&gt; tags, one can simply style the labels to have a fixed width and you get the same effective. A lot less markup.&lt;/dd&gt;

  &lt;dt&gt;&lt;code&gt;optgroup&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Another one I didn&amp;#8217;t even know existed. Admitedly, it&amp;#8217;s an &lt;span class="caps"&gt;HTML 4&lt;/span&gt; tag. But I often have drop down boxes where groupings within them would be nice. And previously, I would have had to use some kind of Javascript or server side validation to forbid slection of those grouping headings. With &lt;code&gt;optgroup&lt;/code&gt;, browsers don&amp;#8217;t allow you to select the grouping itself.&lt;/dd&gt;

  &lt;dt&gt;&lt;code&gt;fieldset&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;Fieldset is a perfect semantic method of grouping elements within a form together. The default styles in most browsers create a nice little box around your fields with the name of the section (ie: &amp;#8220;Billing Address&amp;#8221;) at the top.&lt;/dd&gt;

  &lt;dt&gt;&lt;code&gt;th&lt;/code&gt;&lt;/dt&gt;
  &lt;dd&gt;I didn&amp;#8217;t even know Table Header tags existed until a few months ago. It makes it much cleaner to style the headings above columns. No more &lt;code&gt;&amp;lt;b&amp;gt;&lt;/code&gt; tags in every single field!&lt;/dd&gt;
&lt;/dl&gt;

	&lt;p&gt;And now, let&amp;#8217;s please pause for a moment of silence for the &lt;code&gt;&amp;lt;br/&amp;gt;&lt;/code&gt; tag (Previously known as &lt;code&gt;&amp;lt;br&amp;gt;&lt;/code&gt;.), who recently left this world. I&amp;#8217;ve all but stopped using the the Break tag, except when it actually makes sense: intentional line breaks within paragraphs of text. No more &lt;code&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/code&gt; to space something down a page. And never again will I do the old &lt;code&gt;&amp;lt;font size="1"&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/font&amp;gt;&lt;/code&gt; to space something down just a tiny bit.&lt;/p&gt;</description>
      <pubDate>Sat, 12 May 2007 09:49:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:46d3d0e1-ada9-4be1-b94c-bf4b4f69f104</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/05/12/these-are-a-few-of-my-favorite-html-tags</link>
      <category>HTML</category>
      <category>CSS</category>
    </item>
    <item>
      <title>"These are a few of my favorite HTML tags..." by Justin Reagor</title>
      <description>&lt;p&gt;Interestingly enough, on Friday the W3C accepted a proposal from Mozilla, Apple and Opera (part of the WHATWG group). They will now finalize the WHATWG's draft termed "HTML 5". "HTML 5" has been accepted by the W3C as the name for the new standard, as well as two primary editors will lead the way, Ian Hickson (Google) and David Hyatt (Apple). &lt;/p&gt;

&lt;p&gt;The W3C have also taken a set of design principles which can be &lt;a href="http://esw.w3.org/topic/HTML/ProposedDesignPrinciples" rel="nofollow"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Nice to see everyone finally waking up and moving on the next version of HTML!&lt;/p&gt;</description>
      <pubDate>Sun, 13 May 2007 12:56:01 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:0eef4144-f80f-421b-8764-bbf6419a051d</guid>
      <link>http://blog.kineticweb.com/articles/2007/05/12/these-are-a-few-of-my-favorite-html-tags#comment-6</link>
    </item>
  </channel>
</rss>
