Smarter HtmlOptions

Extracted CSS class logic to HtmlClassAttribute