title: Can I use link_to to link an image and a text
body: <p>Well, I am using "font-awesome-rails" gem. I am pretty much used to font-awesome outside Rails, but I guess it's not that popular among Rails community.</p>
  
  <p>Once installed, it creates icons using the format</p>
  
  <pre><code>&lt;i class="nameoftheicon"&gt; &lt;/i&gt;
  </code></pre>
  
  <p>I thought of using it for my site logo, which would consist of the icon from font-awesome and some text. So I tried:</p>
  
  <pre><code>&lt;%= link_to "", root_path, class: "icon-puzzle-piece icon-2x" %&gt;
  &lt;%=  link_to "My site", root_path, id: 'logo'  %&gt;
  </code></pre>
  
  <p>It works, but when I hover, they act as two different elements. </p>
  
  <ol>
  <li><p>What is the Rails way of combining an image and a text under a single <code>&lt;a&gt;</code> tag. </p></li>
  <li><p>And is there any popular Rails alternative to font-awesome?</p></li>
  </ol>