Output Delivery System: The Basics and Beyond
by Lauren E. Haworth, Cynthia L. Zender, Michele M. Burlew
Creating Alternate HTML Formats
HTML comes in a variety of versions and sizes. For example, ODS HTML produces HTML 4.01-compliant tags in SAS®9. Why would you want to switch HTML formats within SAS? One reason is file size. The ODS HTML statement in SAS®9 produces a large inline style section. If you're creating a simple report, this probably does not matter. However, if your users have slow Internet connections, the file sizes can become prohibitively large. Three ways to create smaller files are to use ODS CHTML, ODS HTML with an external Cascading Style Sheet (CSS) file, or PHTML.
A CSS file contains instructions that define aspects of your HTML document such as color, font, and layout. When you want the same look for many documents, it might ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access