Picto thématique

Rule n° 190 - The website offers styles dedicated to printing.

It is perfectly possible to predict how the web content of a page should be printed on paper. Style sheets for print media are there for that.

#Accessibility #Eco-conception #Presentation #Conception #Development


  • Allow content to be printed in a form that is appropriate to the medium.


Provide a specific style sheet for the media type print, for example in the form: link rel="stylesheet" type="text/css" href="print.css" media="print" />.

Printing styles can correct a global style sheet (style sheet for all media or without mention of the media) or apply only for media print if the display style sheet is called by specifying the media print.

Find out more:


This best practice can be quickly evaluated by testing the print preview in the browser, but confirmation needs the code to be inspected to find if a print style is present for the media print, which can be:

  • In the form of a tag of type <link rel="stylesheet" type="text/css" media="print" href="print.css" /> ;
  • In the form of a tag of type <style media="print" type="text/css">…</style> ;
  • In the form of a rule @media print {…} in an internal or external CSS;
  • Or in the form of a rule @import url("print.css") print; in an internal or external CSS.

By Opquast - Read the license

Overview and background

The 240 Opquast rules are defined and agreed upon by an extensive community of web professionals and academics. These web quality assurance guidance rules started as a list of best practices 20 years ago. They have since been revised every five years and have been tried and tested via millions of web interactions by Opquast community’s customers, including the leading CMS communities which have developed plugins for WordPress, Drupal and Prestashop. The most recent version, v4, was established in 2020.

Each rule has individual technical sheets and the rules can be searched by project phase or various topics: e-commerce, data-privacy, internationalization, security, code, etc, or by themes: accessibility, SEO, mobile, privacy, and ecodesign. The complete checklist is available on a creative commons license BY-SA.

To learn more about the Opquast approach, read this article published at Smashing Magazine

Broad application and benefits

The rules should be applied to your projects from the design phase through to post-implementation , and they should be understood by all professionals with web and customer experience (CX) responsibilities: from strategy to operations, marketers to project managers, and editorial to technical staff. The benefits of using this ruleset are numerous, including improving customer satisfaction, web performance, and e-commerce, and expanding your client base, while also decreasing your errors and costs.

Multidisciplinary verticles - accessiiblity, SEO, e-commerce, ecodesign etc..- starting from the foundational Opquast base.

Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 17,000 web professionals to have their skills certified. Train your teams, contact us

We offer a 1 hour free discovery module.