title: Can I specify that a particular tag always have a particular class?
body: <p>Is it possible to use CSS to specify that a particular HTML tag should always have a particular class? Something like:</p>
  
  <pre><code>p {
    class: fun;
  }
  
  h3 {
    class: fun;
  }
  
  .fun {
    font-family: "Comic Sans"
  }
  </code></pre>
  
  <p>(I realize that this is probably never a good idea, I'm wondering for mostly academic reasons)</p>
  
  <p>I'd like to achieve this without javascript/jquery -- only use CSS and HTML.</p>
  
  <p><strong>update</strong></p>
  
  <p>I know how to put the style specifications in each element -- what I want is to be able to change the class in one place in the .css file and have it apply to all the other elements which have the class, without having to change any HTML. i want the classes applied to all of a particular tag by default, <strong>from the css file</strong>. (again, I realize this isn't good design -- I'm just curious if it's possible).</p>