You might want to check out
http://www.w3schools.com. It goes into detail on span and style and the various tags. I don't think you can use class after span. I most commonly use class as part of a paragraph tag...<p class="fn"> for footnotes, for example. That way all the footnotes are the same and can be changed once in the stylesheet.