Create the HTML output and specify the name of the HTML file. Specify the style to use for the output. The ODS HTML statement opens the HTML destination and creates HTML output. The output from PROC PRINT is sent to the body file. FRAME= and CONTENTS= create a frame that includes a table of contents that links to the contents of the body file. The body file also appears in the frame.


The STYLE= option tells ODS to use Styles.Default as the style when it formats the output. Strictly speaking, this option is unnecessary because it specifies the default style, but it is included for clarity.


ods html body="sasdefaultstyle-body.htm"
         contents="sasdefaultstyle-content.htm"
         frame="sasdefaultstyle-frame.htm"
         style=styles.default;