Avoid a style="font-variant: small-caps" in favor of a css entry
Support writing CSS and JS to external files
Move style=... attributes to css classes