title: Difference between disabled class of bootstrap and disabled attribute
body: <p>Hi friends i am using disabled class as well as disabled attribute as follows however i dont know the basic difference between both and when we have to use class and when to use attribute please clear my doubt
      I am using button  in my code and i want to disable it so what will be the best way either use class disabled or attribute disabled</p>
  
  <pre><code>    &lt;button class="btn btn-primary disabled" type=" button"/&gt;
      disabled="disabled"
  </code></pre>