Adding Media Style Sheets

In this lesson, we learn how to add media style sheets to our webpage.

We'll cover the following

Media-dependent style sheets use exactly the same syntax as any other CSS declarations. When attaching an external style sheet to your page, the media attribute of the <link> tag lets you specify the media type.

This sample shows how you can add three style sheets to your web page:

Get hands-on with 1400+ tech skills courses.