SAS OnlineTutorback||next

Try It! Apply a style to your HTML output.

Creating HTML output? Read this first.

  1. Copy the program below and paste it into the Program Editor window (or issue the command copy sashelp.oltutor..source).

ods listing close;
ods html body='<my-location>myoutput.htm'
(url='myoutput.htm')
contents='<my-location>mytoc.htm'
(url='mytoc.htm')
frame='<my-location>myframe.htm'; proc print data=clinic.admit;
run;
proc print data=clinic.insure;
run;
ods html close; ods listing;
  1. Replace <my-location> with your My SAS Files directory path (or your default storage location).

    In the CMS operating environment: specify myoutput htm, mytoc htm, and myframe htm as the HTML filenames and filetypes.

  2. Add an option to apply the Beige style to the HTML output.

  3. Submit the program and open the frame file (myframe.htm). View the body file using the links in the contents file (mytoc.htm).

    Return here and select Next.

Solution

back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA.
All rights reserved.

Terms of Use & Legal Information | Privacy Statement