title: How to add an attribute on load time using jquery
body: <p>i have a html page in which i have a number of anchor tags i want to add rel="no follow" attribute in anchor tag if it doesn't  have it on the pages whose source is starting with hyper text transfer protocol request. some of the anchor have already rel attribute. how can i achieve it through </p>
  
  <p>example:-</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;p&gt; Here we go&lt;/p&gt;
          &lt;a href="https://www.abc.com"&gt; a1&lt;/a&gt;
          &lt;a href="https://www.abc.com" rel="nofollow" &gt; a2&lt;/a&gt;
          &lt;a href="https://www.abc.com"&gt;a3&lt;/a&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>i want to add rel= no follow attribute  on a1 and a2 on page load time how can i achieve this</p>