Further Examples
Here is how to save this notebook as a HTML file that uses a cascading style sheet (note that the only difference to before is that you need to load the CSSSave` package):
<<CSSSave`
FrontEnd`DoHTMLSave[]
Here is how to save only the styles defined in this notebook as a .CSS file:
CSSSave[]