Create the HTML output and specify the style to use for the output. The ODS HTML statement opens the HTML destination and creates HTML output. It sends all output objects to the external file newstyle2-body.htm in the current directory. The STYLE= option tells ODS to use NewStyle2 as the style when it formats the output.
ods html body="newstyle2-body.htm" style=newstyle2;