title: Even if an img tag appoints id and class, it is ineffective. . is it true?
body: <p>Even if I appointed id and a class to an img tag of the html by a rumor and appointed it in css, it came when it was ineffective.</p>
  
  <pre><code>img id="hogehoge_id" class="fugafuga_class" src="example.gif" /
  #hogehoge_id{
    float:left;
  }
  .fugafuga_class{
    padding: 10px;
  }
  </code></pre>
  
  <p>It is a designated way such as the above.
  I got along well when I tested it in Firefox and IE6.
  Will there be a problem manners of the CSS?</p>