<head>
<title>Web Page</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
This rule aims to remind developers to use CSS print to limit the number of pages printed therefore indirectly reducing the impact of the web page.
Examples of non-compliant code for this rule:
<head>
<title>Web Page</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
Examples of compliant code for this rule:
<head>
<title>Web Page</title>
<link rel="stylesheet" media="print" type="text/css" href="print.css" />
</head>
<head>
<title>Web Page</title>
<style>
@media print {
/* Print-specific styles */
}
</style>
</head>
This recommendation is made by the CNUMR: Provide a print CSS