<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">

 <title>Ivana Vasilj | Blog</title>
 <link href="http://ivana.github.com/atom.xml" rel="self"/>
 <link href="http://ivana.github.com/"/>
 <updated>2017-05-23T21:34:55+00:00</updated>
 <id>http://ivana.github.com/</id>
 <author>
   <name>Ivana Vasilj</name>
   <uri>http://ivana.github.com/about/</uri>
   <email>ivasilj@gmail.com</email>
 </author>

 
 <entry>
   <title>RWD = performance</title>
   <link href="http://ivana.github.com/2013/09/RWD"/>
   <updated>2013-09-14T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2013/09/RWD</id>
   <content type="html">&lt;blockquote&gt;
  &lt;p&gt;To be prepared for tomorrow’s problems, we have to include performance as an essential consideration, as the desktop-centered web is disappearing before our eyes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;http://speckyboy.com/2013/09/11/responsive-design-is-not-about-screen-sizes-any-more/&quot;&gt;Responsive Design is Not About Screen Sizes Any More&lt;/a&gt; is the most comprehensive piece on best practices in RWD, performance, and optimisation that I’ve read recently.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;To achieve truly lightweight sites, performance shouldn’t only be a concern, it should be treated as a design feature.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;Performance is like any other issue. Sites that overcome it are the ones who acknowledged it from the beginning. And the ones that overlook it are the ones that suffer for it in the end.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;“You don’t get to decide which devices access your site, your users do”&lt;br /&gt;—Karen McGrane&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>On classes and IDs</title>
   <link href="http://ivana.github.com/2012/11/classes-and-ids"/>
   <updated>2012-11-27T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/11/classes-and-ids</id>
   <content type="html">&lt;p&gt;I’m a big fan of &lt;a href=&quot;http://www.stubbornella.org/content/&quot;&gt;Nicole Sullivan&lt;/a&gt; and &lt;a href=&quot;https://github.com/stubbornella/oocss/wiki&quot;&gt;Object Oriented CSS&lt;/a&gt;. One of the practices I embraced, also thanks to &lt;a href=&quot;http://csslint.net&quot;&gt;CSS Lint&lt;/a&gt;, is not to use IDs in CSS selectors. The main benefits from this practice:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;code maintainability,&lt;/li&gt;
  &lt;li&gt;performance (better page load times),&lt;/li&gt;
  &lt;li&gt;avoiding specificity wars.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Oli Studholme illustrates it nicely in his article &lt;a href=&quot;http://oli.jp/2011/ids/&quot;&gt;Don’t use IDs in CSS selectors?&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I also really enjoyed reading &lt;a href=&quot;http://www.zeldman.com/about/&quot;&gt;Jeffrey Zeldman&lt;/a&gt;’s view on this, &lt;a href=&quot;http://www.zeldman.com/2012/11/21/in-defense-of-descendant-selectors-and-id-elements/&quot;&gt;In defense of descendant selectors and ID elements&lt;/a&gt;, and I agree:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;There is nothing wrong with id when it is used appropriately (semantically, structurally, sparingly). There is plenty wrong with the notion that class is always preferable to descendant selectors and semantic, structural ids.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The main point I see in his article:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Please understand: I’m not disparaging my friend Nicole Sullivan’s Object Oriented CSS as an approach to otherwise unmanageable websites. No more would I disparage a steam shovel for cleaning up a disaster site. I just wouldn’t use it to clean my room.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nevertheless, not using IDs, but only classes in CSS selectors, has done a lot for my productivity, solely from the perspective of code maintainability, so I’ll continue “keeping my room in order” with this practice.&lt;/p&gt;

</content>
 </entry>
 
 <entry>
   <title>Don't forget the address</title>
   <link href="http://ivana.github.com/2012/11/address"/>
   <updated>2012-11-12T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/11/address</id>
   <content type="html">&lt;p&gt;Though its role is quite simple, the &lt;code&gt;address&lt;/code&gt; element seems to be easily forgotten, or even misunderstood – it &lt;em&gt;is&lt;/em&gt; named somewhat misleadingly. In short, you should use it to indicate the &lt;strong&gt;contact info for a web page&lt;/strong&gt;, like an email or website address.&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;The spec&lt;/cite&gt; is crisp about it: &lt;q cite=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-address-element&quot;&gt;The &lt;code&gt;address&lt;/code&gt; element represents the contact information for its nearest &lt;code&gt;article&lt;/code&gt; or &lt;code&gt;body&lt;/code&gt; element ancestor. If that is the &lt;code&gt;body&lt;/code&gt; element, then the contact information applies to the document as a whole.&lt;/q&gt;&lt;/p&gt;

&lt;p&gt;(For example, I wrapped the “contact me” link on &lt;a href=&quot;/&quot;&gt;my homepage&lt;/a&gt; in it.)&lt;/p&gt;

&lt;p&gt;Have a look at &lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-address-element&quot;&gt;the &lt;code&gt;address&lt;/code&gt; element in the HTML standard&lt;/a&gt;, it’s a short read.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important note&lt;/strong&gt;: Don’t use the &lt;code&gt;address&lt;/code&gt; element for marking up addresses in general, such as postal addresses (unless they represent the actual contact, of course). For that purpose, use the &lt;a href=&quot;http://microformats.org/wiki/adr&quot;&gt;adr format&lt;/a&gt;, a property of the &lt;a href=&quot;http://microformats.org/wiki/hCard&quot;&gt;hCard&lt;/a&gt; microformat.&lt;/p&gt;

</content>
 </entry>
 
 <entry>
   <title>New Look</title>
   <link href="http://ivana.github.com/2012/11/new-look"/>
   <updated>2012-11-11T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/11/new-look</id>
   <content type="html">&lt;p&gt;&lt;a href=&quot;/&quot;&gt;ivana.im&lt;/a&gt; has a new look! I’ve kept it simple, but included some girlish colours and Avenir, currently my favourite typeface. Not many lines of CSS.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Baseline and multi-column grids with CSS3 linear gradients</title>
   <link href="http://ivana.github.com/2012/10/grids-with-css3-gradients"/>
   <updated>2012-10-31T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/10/grids-with-css3-gradients</id>
   <content type="html">&lt;p&gt;I wrote &lt;a href=&quot;https://gist.github.com/3947218&quot;&gt;these snippets&lt;/a&gt; using &lt;a href=&quot;http://sass-lang.com&quot;&gt;SCSS&lt;/a&gt; (with a dash of &lt;a href=&quot;http://thoughtbot.com/bourbon/&quot;&gt;Bourbon&lt;/a&gt; to forget about vendor prefixes). They can be quite helpful when composing a page both vertically and horizontally, all within few lines of code you can write yourself, no need for extra CSS frameworks. I hope you make use of them for your grid layouts as well, or at least get the general idea.&lt;/p&gt;

&lt;script src=&quot;https://gist.github.com/3947218.js&quot;&gt;&lt;/script&gt;

</content>
 </entry>
 
 <entry>
   <title>Podcasts I like</title>
   <link href="http://ivana.github.com/2012/09/podcasts"/>
   <updated>2012-09-02T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/09/podcasts</id>
   <content type="html">&lt;p&gt;It’s becoming impossible to keep up with all of the great ones out there (right now there’s more than 40 podcasts to listen in my &lt;a href=&quot;http://vemedio.com/products/instacast&quot;&gt;Instacast&lt;/a&gt;), but here’s my narrow selection.&lt;/p&gt;

&lt;p&gt;Web development:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://shoptalkshow.com&quot;&gt;Shop Talk Show&lt;/a&gt; - About front-end web development &amp;amp; design, featuring awesome guests, with questions from listeners.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://railscasts.com&quot;&gt;RailsCasts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Education &amp;amp; Comedy:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.radiolab.org/series/podcasts/&quot;&gt;Radiolab&lt;/a&gt; (up to 60 min) - “Science meets culture” in a form of stories, investigations, and experiences.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.scientificamerican.com/podcast/podcasts.cfm?type=60-second-science&quot;&gt;60-Second Science&lt;/a&gt; (1 min) - Daily commentary on some of the interesting news in the world of science.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://themoth.org&quot;&gt;The Moth&lt;/a&gt; or “True stories told live” (~ 20 min)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://ashow.zefrank.com&quot;&gt;a show with zefrank&lt;/a&gt; (~ 3 min)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.thestranger.com/seattle/SavageLovePodcast/Page&quot;&gt;Savage Lovecast&lt;/a&gt; (~ 50 min) - Advice columnist Dan Savage answers questions about sex and relationships. Insightful, provocative, and funny.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Language:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://itunes.apple.com/podcast/learn-french-daily-podcasts/id191303933?mt=2&quot;&gt;Learn French with daily podcasts&lt;/a&gt; (~ 5 min) - Useful to stay in touch with your existing (beginner to intermediate) French, and expand your vocabulary. Funny accent included. (Louis is adorable.)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://grammar.quickanddirtytips.com&quot;&gt;Grammar Girl Quick and Dirty Tips&lt;/a&gt; (5–10 min) - English grammar, punctuation, and style.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.slate.com/articles/podcasts/lexicon_valley.html&quot;&gt;Lexicon Valley&lt;/a&gt; (20–30 min) - Simply about language.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I only recently discovered &lt;a href=&quot;http://theartofphotography.tv&quot;&gt;The Art of Photography&lt;/a&gt; and really like it.
I also occasionally listen to &lt;a href=&quot;http://bigideas.tvo.org/podcasts&quot;&gt;Big Ideas&lt;/a&gt;, &lt;a href=&quot;http://rubyfreelancers.com&quot;&gt;Ruby Freelancers&lt;/a&gt;, and &lt;a href=&quot;http://5by5.tv/b2w&quot;&gt;Back to Work&lt;/a&gt;.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Take a hike</title>
   <link href="http://ivana.github.com/2012/05/take-a-hike"/>
   <updated>2012-05-14T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/05/take-a-hike</id>
   <content type="html">&lt;p&gt;Nowadays, almost any information is within our reach in a blink of an eye, at all times, and in abundance. We have to schedule our minds to rest, have some time in isolation, free from the information greediness on the loose. While we can take certain actions to disconnect on a regular, daily or weekly basis, everybody could use a major reset every once in a while.&lt;/p&gt;

&lt;p&gt;I’ve had mine 2 weeks ago: hiking and camping in the southern part of &lt;a href=&quot;http://en.wikipedia.org/wiki/Velebit&quot;&gt;Velebit&lt;/a&gt;, which belongs to &lt;a href=&quot;http://en.wikipedia.org/wiki/Paklenica&quot;&gt;Paklenica&lt;/a&gt;, a national park in Croatia. We spent 4 days climbing  (including the highest peak, &lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/7139685449/&quot;&gt;Vaganski vrh&lt;/a&gt;, at 1757m), walking from morning till dusk, sleeping in tents, making fire to cook food and warm ourselves after tiring whole-day hikes.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/6989894258/&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7209/6989894258_2e51cf097c_d.jpg&quot; alt=&quot;Malo Rujno at dusk&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reasons I love hiking and spending time in mountains:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;focusing on one thing only: putting some effort in each step that will bring you closer to the destination;&lt;/li&gt;
  &lt;li&gt;disconnection, being able to spend time only with people that are with you, without disturbances;&lt;/li&gt;
  &lt;li&gt;physical exercise, with all the health benefits it brings; you don’t need to be particularly in shape for hiking, the only prerequisite is sheer will power;&lt;/li&gt;
  &lt;li&gt;the obvious: enjoying the scenery;&lt;/li&gt;
  &lt;li&gt;once again coming to appreciate the everyday comforts we take for granted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;(A little note on the disconnection part: the signal coverage is actually pretty good on Croatian mountains, so I had to turn the flight mode on – there’s just something out of place in receiving an SMS from your city friend inviting you to theatre while you’re looking for a “number two” hiding spot.)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/6989229812&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7205/6989229812_058ecf63e1_d.jpg&quot; alt=&quot;Veliko Rujno&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Mountains are amazing. Instead of reading this, you should be planning your next hiking trip.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/6989848956&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7234/6989848956_f062db4140_d.jpg&quot; alt=&quot;Vilin kuk&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More photos from this trip in &lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/sets/72157629583647864/detail/&quot;&gt;my set on Flickr&lt;/a&gt;.&lt;/p&gt;

</content>
 </entry>
 
 <entry>
   <title>iPhone 365</title>
   <link href="http://ivana.github.com/2012/02/iPhone-365"/>
   <updated>2012-02-12T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2012/02/iPhone-365</id>
   <content type="html">Yesterday I finished my &quot;iPhone 365&quot;:iPhone365 project, a photography project I started 1 year ago. Well-known among photographers, 365 is a project for taking a photo each day for a year. There are no other rules: you choose your photo equipment, subjects you photograph, when to start with it. It allows a lot of space for creativity with a simple goal: to become better at photography.

I decided to make it an iPhone 365 project for 3 simple reasons:

# I &quot;started a 365&quot;:56/365 once before that, only to quit it after less than 2 months. I wasn't always eager to carry a bulky SLR with me, and editing photos required way too much time and dedication on a daily basis, to the point where it became a real drag.
# It's a euphemism to say that I worship my iPhone 4, mostly because of its fabulous camera; it never leaves my side (and needless to say, the best camera is the one that's always with you).
# There are so many great iPhone apps for taking and editing your photos. I will list the ones I used.

&lt;section class=&quot;i365&quot;&gt;
h2. My favourite photo apps

# Built-in camera app. With its irreplaceable HDR setting, it's still my most preferred app for shooting. I used all the other apps only for editing (apart from Hipstamatic).
&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/6537189465/in/set-72157626061095120/&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7002/6537189465_ff1bce500a_d.jpg&quot; alt=&quot;311/365: Splendid&quot;&gt;&lt;/a&gt;
# &quot;Camera+&quot;:http://campl.us/. Really the ultimate photo app, I used it for 90% of the shots. Not only for its great effects, but it also offers a variety of white balance choices, built-in timer, etc. I could have easily renamed my project to Camera+ 365.
&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/6619525409/in/set-72157626061095120/&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7016/6619525409_d6e8f27746_z_d.jpg&quot; alt=&quot;324/365: A beginning&quot;&gt;&lt;/a&gt;
# &quot;Instagram&quot;:http://instagr.am/. The most social photo app, fast and with beautiful effects. Everybody knows it, everybody loves it.
&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/6465705523/in/set-72157625092360131/&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7150/6465705523_ff29e79906_d.jpg&quot; alt=&quot;298/365: Pošta&quot;&gt;&lt;/a&gt;
# &quot;Hipstamatic&quot;:http://hipstamatic.com/the_app.html. The name says it all. I love its look, retro feel, and the random mode. The &quot;most lomo&quot; app, just shoot and don't look back.
&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/5658824897/in/set-72157626061095120&quot;&gt;&lt;img src=&quot;http://farm6.staticflickr.com/5147/5658824897_6d5930961a_d.jpg&quot; alt=&quot;74/365: Old and broken&quot;&gt;&lt;/a&gt;
# &quot;CrossProcess&quot;:http://bananacameraco.com/crossprocess/. Admirably emulated cross processed film, great results.
&lt;a href=&quot;http://www.flickr.com/photos/ivanavasilj/5614488899/in/set-72157628173561053&quot;&gt;&lt;img src=&quot;http://farm6.staticflickr.com/5143/5614488899_f9a392963b_z_d.jpg&quot; alt=&quot;60/365: Unwanted lemonade&quot;&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
h2. The experience

The greatest benefit I got from doing this is the community feedback from my Flickr friends, great number of them coming from &quot;The Daily Shoot&quot;:dailyshoot project, which unfortunately is no longer active, but it had great daily assignments that kept me motivated, and connected with people who are doing the same thing.

Staying motivated is a real bummer here: I certainly had plenty of days where I would just point to and shoot the first thing I saw (&quot;one example of that&quot;:downExample). Having a great idea for a shot for 365 days (and execute it) is hardly likely, so there were plenty of ups &amp;amp; downs. My favourite (and totally unexpected) ups were the &quot;3 of my photos that got explored on Flickr&quot;:explored.

We all know that practice makes perfect. What makes 365 a great project is that you can do it even if you never had a camera in your hands. Even if you don't become much better at photography, and you definitely will, you'll have one year of your life in photos, a unique and irreplaceable souvenir worth having.
&lt;/section&gt;

&lt;aside class=&quot;i365&quot;&gt;
Related links:
* &quot;My iPhone 365 project&quot;:iPhone365
* &quot;My Flickr stream&quot;:myFlickr
* &quot;The Daily Shoot assignments&quot;:dailyshoot
&lt;/aside&gt;


[iPhone365]http://www.flickr.com/photos/ivanavasilj/sets/72157626061095120/
[myFlickr]http://www.flickr.com/photos/ivanavasilj/
[56/365]http://www.flickr.com/photos/ivanavasilj/sets/72157624849736463/
[explored]http://www.flickr.com/photos/ivanavasilj/sets/72157626980783451/detail/
[dailyshoot]http://dailyshoot.com/assignments
[downExample]http://www.flickr.com/photos/ivanavasilj/6521979279/in/set-72157626061095120/
</content>
 </entry>
 
 <entry>
   <title>My Echoes On The Web</title>
   <link href="http://ivana.github.com/2010/07/my-echoes-on-the-web"/>
   <updated>2010-07-23T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2010/07/my-echoes-on-the-web</id>
   <content type="html">&lt;p&gt;Recently I created a page here called &lt;a href=&quot;/echoes&quot;&gt;Echoes&lt;/a&gt; that aggregates my social activity from various sites such as Twitter, Flickr, Delicious bookmarks and more. Because this site is static, I needed a service that can:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Grab the feeds from multiple sources,&lt;/li&gt;
  &lt;li&gt;Aggregate, transform and filter content so the end result only contains recent activity,&lt;/li&gt;
  &lt;li&gt;Output the result as &lt;a href=&quot;http://remysharp.com/2007/10/08/what-is-jsonp/&quot;&gt;JSON-P&lt;/a&gt; so I can pull it into my site with JavaScript.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href=&quot;http://pipes.yahoo.com/pipes/&quot;&gt;Yahoo Pipes&lt;/a&gt; is a service that can perform all of the above and, because of its graphical interface of connecting balloons with pipes, it’s also tons of fun to play with for days.&lt;/p&gt;

&lt;p&gt;My &lt;a href=&quot;http://pipes.yahoo.com/ivana/echoes&quot;&gt;Echoes pipe&lt;/a&gt; is public, so feel free to view the source or clone it. You can also &lt;a href=&quot;/js/site.js&quot;&gt;view the JavaScript code&lt;/a&gt; that fetches the pipe output and merges it with the markup of the &lt;a href=&quot;/echoes&quot;&gt;Echoes&lt;/a&gt; page.&lt;/p&gt;

</content>
 </entry>
 
 <entry>
   <title>Headings in HTML4 &amp; HTML5</title>
   <link href="http://ivana.github.com/2010/05/headings-in-html4-and-html5"/>
   <updated>2010-05-18T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2010/05/headings-in-html4-and-html5</id>
   <content type="html">&lt;p&gt;
  Headings are for organizing content into sections. Nice heading structure represents document outline,
  improves accessibility, may help with search engine rankings &amp;mdash; it's simply beautiful.
&lt;/p&gt;
&lt;p&gt;
  New elements in HTML5, such as &lt;code&gt;section&lt;/code&gt;, &lt;code&gt;article&lt;/code&gt; and &lt;code&gt;hgroup&lt;/code&gt;,
  have changed the way of marking up headings a bit. So let's compare &quot;the old&quot; and &quot;the new&quot; way.
&lt;/p&gt;

&lt;section&gt;
  &lt;h1&gt;Headings in HTML4&lt;/h1&gt;

  &lt;p&gt;These are the rules of heading structure I follow in HTML4:&lt;/p&gt;
  &lt;ol&gt;
    &lt;li&gt;
      Nest headings properly, &lt;em&gt;do not skip levels&lt;/em&gt; (&lt;code&gt;h1&lt;/code&gt; is followed by &lt;code&gt;h2&lt;/code&gt;,
      &lt;code&gt;h2&lt;/code&gt; is followed by &lt;code&gt;h2&lt;/code&gt; or &lt;code&gt;h3&lt;/code&gt;, etc.)
    &lt;/li&gt;
    &lt;li&gt;Use &lt;em&gt;one &lt;code&gt;h1&lt;/code&gt; element per document&lt;/em&gt; / page (the main, top level heading for that page)&lt;/li&gt;
  &lt;/ol&gt;

  &lt;p&gt;
    Those are basically &lt;em&gt;accessibility techniques&lt;/em&gt; and have little to do with
    &lt;a href=&quot;http://www.w3.org/TR/html401/struct/global.html#h-7.5.5&quot;&gt;HTML 4.01 Specification&lt;/a&gt;
    (which only notes that &lt;q&gt;some people consider skipping heading levels to be bad practice&lt;/q&gt;).
    Check out &lt;a href=&quot;http://www.w3.org/TR/WCAG20-TECHS/&quot;&gt;Techniques for WCAG 2.0&lt;/a&gt;
    (in case you haven't before), particularly these:
  &lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;http://www.w3.org/TR/WCAG20-TECHS/G141.html&quot;&gt;G141: Organizing a page using headings&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://www.w3.org/TR/WCAG20-TECHS/H42.html&quot;&gt;H42: Using h1-h6 to identify headings&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;http://www.w3.org/TR/WCAG20-TECHS/H69.html&quot;&gt;H69: Providing heading elements at the beginning of each section of content&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;

  &lt;p&gt;
    This is the &lt;a href=&quot;http://www.w3.org/TR/html401/struct/global.html#h-7.5.5&quot;&gt;example of use from HTML4 spec&lt;/a&gt;:
  &lt;/p&gt;
  &lt;pre&gt;
    &lt;code&gt;
&amp;lt;DIV class=&quot;section&quot; id=&quot;forest-elephants&quot;&amp;gt;
  &amp;lt;H1&amp;gt;Forest elephants&amp;lt;/H1&amp;gt;
  &amp;lt;P&amp;gt;In this section, we discuss the lesser known forest elephants.
  ...this section continues...
  &amp;lt;DIV class=&quot;subsection&quot; id=&quot;forest-habitat&quot;&amp;gt;
    &amp;lt;H2&amp;gt;Habitat&amp;lt;/H2&amp;gt;
    &amp;lt;P&amp;gt;Forest elephants do not live in trees but among them.
    ...this subsection continues...
  &amp;lt;/DIV&amp;gt;
&amp;lt;/DIV&amp;gt;
    &lt;/code&gt;
  &lt;/pre&gt;
  &lt;p&gt;
    So, there's a main &lt;code&gt;div.section&lt;/code&gt; starting with the &lt;code&gt;h1&lt;/code&gt;, and a
    &lt;code&gt;div.subsection&lt;/code&gt; starting with the &lt;code&gt;h2&lt;/code&gt; element.
  &lt;/p&gt;

&lt;/section&gt;


&lt;section&gt;
  &lt;h1&gt;Headings in HTML5&lt;/h1&gt;

  &lt;p&gt;
    First, let's take a look at the
    &lt;a href=&quot;http://www.w3.org/TR/2010/WD-html5-20100304/semantics.html#the-h1-h2-h3-h4-h5-and-h6-elements&quot;&gt;
      examples of use from HTML5 specification draft&lt;/a&gt;.
    Snippet #1:
  &lt;/p&gt;
  &lt;pre id=&quot;snippet-1&quot;&gt;
    &lt;code&gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;Let's call it a draw(ing surface)&amp;lt;/h1&amp;gt;
  &amp;lt;h2&amp;gt;Diving in&amp;lt;/h2&amp;gt;
  &amp;lt;h2&amp;gt;Simple shapes&amp;lt;/h2&amp;gt;
  &amp;lt;h2&amp;gt;Canvas coordinates&amp;lt;/h2&amp;gt;
  &amp;lt;h3&amp;gt;Canvas coordinates diagram&amp;lt;/h3&amp;gt;
  &amp;lt;h2&amp;gt;Paths&amp;lt;/h2&amp;gt;
&amp;lt;/body&amp;gt;
    &lt;/code&gt;
  &lt;/pre&gt;

  &lt;p&gt;and its equivalent snippet #2:&lt;/p&gt;
  &lt;pre id=&quot;snippet-2&quot;&gt;
    &lt;code&gt;
&amp;lt;body&amp;gt;
 &amp;lt;h1&amp;gt;Let's call it a draw(ing surface)&amp;lt;/h1&amp;gt;
 &amp;lt;section&amp;gt;
  &amp;lt;h1&amp;gt;Diving in&amp;lt;/h1&amp;gt;
 &amp;lt;/section&amp;gt;
 &amp;lt;section&amp;gt;
  &amp;lt;h1&amp;gt;Simple shapes&amp;lt;/h1&amp;gt;
 &amp;lt;/section&amp;gt;
 &amp;lt;section&amp;gt;
  &amp;lt;h1&amp;gt;Canvas coordinates&amp;lt;/h1&amp;gt;
  &amp;lt;section&amp;gt;
   &amp;lt;h1&amp;gt;Canvas coordinates diagram&amp;lt;/h1&amp;gt;
  &amp;lt;/section&amp;gt;
 &amp;lt;/section&amp;gt;
 &amp;lt;section&amp;gt;
  &amp;lt;h1&amp;gt;Paths&amp;lt;/h1&amp;gt;
 &amp;lt;/section&amp;gt;
&amp;lt;/body&amp;gt;
    &lt;/code&gt;
  &lt;/pre&gt;

  &lt;p&gt;Both are correct in HTML5. What's the difference then, if you can just continue with your HTML4 practice?&lt;/p&gt;
  &lt;blockquote cite=&quot;http://dev.w3.org/html5/spec/sections.html#headings-and-sections&quot;&gt;
    &lt;p&gt;
      Sections may contain headings of any rank, but authors are strongly encouraged to either use only h1 elements,
      or to use elements of the appropriate rank  for the section's nesting level.
    &lt;/p&gt;
    &lt;p&gt;
      Authors are also encouraged to explicitly wrap sections in elements of
      &lt;a href=&quot;http://dev.w3.org/html5/spec/content-models.html#sectioning-content&quot;&gt;sectioning content&lt;/a&gt;,
      instead of relying on the implicit sections generated by having multiple headings in one element of
      &lt;a href=&quot;http://dev.w3.org/html5/spec/content-models.html#sectioning-content&quot;&gt;sectioning content&lt;/a&gt;.
    &lt;/p&gt;
  &lt;/blockquote&gt;

  &lt;p&gt;
    This actually means &lt;em&gt;you should only use &lt;code&gt;h1&lt;/code&gt;&lt;/em&gt; for headings; start with a new &lt;code&gt;section&lt;/code&gt;
    (or other elements of sectioning content: &lt;code&gt;article&lt;/code&gt;, &lt;code&gt;aside&lt;/code&gt;, &lt;code&gt;nav&lt;/code&gt;)
    and its &lt;code&gt;h1&lt;/code&gt; for each level.
    &lt;a href=&quot;#snippet-1&quot;&gt;Snippet #1&lt;/a&gt; is &quot;HTML5 transitional&quot;. &lt;a href=&quot;#snippet-2&quot;&gt;Snippet #2&lt;/a&gt; is the way to go.
  &lt;/p&gt;

  &lt;p&gt;
    Cool thing about the new way of usage is that you can aggregate any &lt;code&gt;section&lt;/code&gt; from a document
    in other documents, it will fit into the external document’s outline.
  &lt;/p&gt;

  &lt;section&gt;
    &lt;h1&gt;Why have 6 heading levels then?&lt;/h1&gt;

    &lt;p&gt;Why not &lt;a href=&quot;http://www.w3.org/TR/xhtml2/mod-structural.html#sec_8.5.&quot;&gt;just &lt;code&gt;h&lt;/code&gt; (like in XHTML2)&lt;/a&gt;?&lt;/p&gt;

    &lt;ol&gt;
      &lt;li&gt;Backward compatibility&lt;/li&gt;
      &lt;li&gt;
        &lt;a href=&quot;http://www.w3.org/TR/2010/WD-html5-20100304/semantics.html#the-hgroup-element&quot;&gt;&lt;code&gt;hgroup&lt;/code&gt;&lt;/a&gt; &amp;mdash;
        heading might have multiple levels (subheadings, taglines, alternative titles) &amp;mdash;
        though I cannot think of an example with headings other than &lt;code&gt;h1&lt;/code&gt; and &lt;code&gt;h2&lt;/code&gt;
      &lt;/li&gt;
    &lt;/ol&gt;
  &lt;/section&gt;

  &lt;section&gt;
    &lt;h1&gt;hgroup&lt;/h1&gt;

    &lt;p&gt;
      There's also a new kid on the block.
      &lt;a href=&quot;http://www.w3.org/TR/2010/WD-html5-20100304/semantics.html#the-hgroup-element&quot;&gt;&lt;code&gt;hgroup&lt;/code&gt;&lt;/a&gt;
      is also a heading, more precisely an element for grouping &lt;code&gt;h1&lt;/code&gt;&amp;ndash;&lt;code&gt;h6&lt;/code&gt;
      elements, in cases when heading has multiple levels, like:
    &lt;/p&gt;
    &lt;pre&gt;
      &lt;code&gt;
&amp;lt;hgroup&amp;gt; 
  &amp;lt;h1&amp;gt;Monochrome daydreaming&amp;lt;/h1&amp;gt; 
  &amp;lt;h2&amp;gt;Homesite of Ivana Vasilj&amp;lt;/h2&amp;gt; 
&amp;lt;/hgroup&amp;gt;
      &lt;/code&gt;
    &lt;/pre&gt;

    &lt;p&gt;
      In document outlines, the text and rank of &lt;code&gt;hgroup&lt;/code&gt; elements will be the text and rank of
      their highest ranked (or the first if many of the same rank) &lt;code&gt;h1&lt;/code&gt;&amp;ndash;&lt;code&gt;h6&lt;/code&gt; descendant.
      So the &lt;code&gt;hgroup&lt;/code&gt; from the example above, would appear in an outline only as the &lt;code&gt;h1&lt;/code&gt; element
      with the text (Monochrome daydreaming) it encloses.
    &lt;/p&gt;
  &lt;/section&gt;

  &lt;section&gt;
    &lt;h1&gt;More on the subject&lt;/h1&gt;

    &lt;p&gt;
      Wonder if you've done your heading structure right? Check your document outline with
      &lt;a href=&quot;http://gsnedders.html5.org/outliner/&quot;&gt;HTML 5 Outliner&lt;/a&gt;. Also check out
      &lt;a href=&quot;http://www.brucelawson.co.uk/2009/headings-in-html-5-and-accessibility/&quot;&gt;Headings in HTML 5 and accessibility&lt;/a&gt;,
      a nice article by Bruce Lawson. And, of course, the best resource,
      &lt;a href=&quot;http://www.w3.org/TR/2010/WD-html5-20100304/semantics.html#the-section-element&quot;&gt;Sections in HTML 5 specification&lt;/a&gt;.
    &lt;/p&gt;

    &lt;p&gt;For one not-from-spec example of use, here's the markup (the relevant part) of this document:&lt;/p&gt;
    &lt;pre&gt;
      &lt;code&gt;
&amp;lt;body&amp;gt;
  &amp;lt;hgroup&amp;gt; 
    &amp;lt;h1&amp;gt;Monochrome daydreaming&amp;lt;/h1&amp;gt; 
    &amp;lt;h2&amp;gt;Homesite of Ivana Vasilj&amp;lt;/h2&amp;gt; 
  &amp;lt;/hgroup&amp;gt;
  
  &amp;lt;article&amp;gt;
    &amp;lt;h1&amp;gt;Headings in HTML4 &amp;amp; HTML5&amp;lt;/h1&amp;gt;
  
    &amp;lt;section&amp;gt;
      &amp;lt;h1&amp;gt;Headings in HTML4&amp;lt;/h1&amp;gt;
    &amp;lt;/section&amp;gt;
  
    &amp;lt;section&amp;gt;
      &amp;lt;h1&amp;gt;Headings in HTML5&amp;lt;/h1&amp;gt;
  
      &amp;lt;section&amp;gt;
        &amp;lt;h1&amp;gt;Why have 6 heading levels then?&amp;lt;/h1&amp;gt;
      &amp;lt;/section&amp;gt;

      &amp;lt;section&amp;gt;
        &amp;lt;h1&amp;gt;hgroup&amp;lt;/h1&amp;gt;
      &amp;lt;/section&amp;gt;
        
      &amp;lt;section&amp;gt;
        &amp;lt;h1&amp;gt;More on the subject&amp;lt;/h1&amp;gt;
      &amp;lt;/section&amp;gt;
    &amp;lt;/section&amp;gt;

  &amp;lt;/article&amp;gt;

&amp;lt;/body&amp;gt;
      &lt;/code&gt;
    &lt;/pre&gt;

  &lt;/section&gt;

&lt;/section&gt;
</content>
 </entry>
 
 <entry>
   <title>First Post</title>
   <link href="http://ivana.github.com/2010/05/first-post"/>
   <updated>2010-05-10T00:00:00+00:00</updated>
   <id>http://ivana.github.com/2010/05/first-post</id>
   <content type="html">&lt;p&gt;Well it was about time for me to have my site &amp;amp; blog.&lt;/p&gt;
&lt;p&gt;
  Here I'll be writing about various stuff of my interest,
  which you may find useful or interesting, so &lt;a href=&quot;http://feeds.feedburner.com/ivanavasilj&quot;&gt;stay tuned&lt;/a&gt;.
&lt;/p&gt;
</content>
 </entry>
 

</feed>
