title: Accessing second element from a div
body: <p>I have the following code snippet</p>
  
  <pre><code>&lt;div class='container'&gt;
                  &lt;a href=''&gt;
                      &lt;img alt='' class='image0' src='images/Gallery/gallery-01.jpg' title='info'/&gt;
                  &lt;/a&gt;
                  &lt;a href=''&gt;
                      &lt;img alt='' class='image1' src='images/Gallery/gallery-01.jpg' title='info'/&gt;
                  &lt;/a&gt;
                  &lt;a href=''&gt;
                      &lt;img alt='' class='image2' src='images/Gallery/gallery-01.jpg' title='info'/&gt;
                  &lt;/a&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>I could use </p>
  
  <p><code>$('.container a:first')</code> or <code>$('.container a:last')</code> to access the first and the last elements, but how can i access the second anchor tag on the div? .</p>