title: Declaring links using jQuery
body: <p>I use the following way to display the appropriate UI language in my web site. For example I declare links like this:</p>
  
  <pre><code>&lt;nav&gt;
      &lt;a class="domain-about"&gt;&lt;/a&gt;
      &lt;a class="domain-downloads"&gt;&lt;/a&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>i.e. without any content inside the <code>&lt;a&gt;</code> tag, and without an <code>href=""</code> attribute, then I associate it with the following jQuery code:</p>
  
  <pre><code>$('.domain-about:lang(en)').attr('title','About').attr('href','about.php');
  $('.domain-documentation:lang(en)').attr('title','Documentation').attr('href','documentation.php');
  $('.domain-about:lang(ar)').attr('title','لمحة').attr('href','about-ar.php');
  $('.domain-documentation:lang(ar)').attr('title','تعليمات').attr('href','documentation-ar.php');
  </code></pre>
  
  <p>Considering SEO, is this a good idea?</p>