Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Responsive Web Design and Testing Adding Breakpoints for Devices

what is the difference between media print and media screen

what is the difference between media print and media screen

3 Answers

"print" refers to what is generated when someone tries to print your website. "screen" refers to almost everything else, except assistive technologies like screen readers and the such.

if we write @media print then what will happen

No offence Mukul but a major part of coding/developing is learning to problem solve - this involves a lot of your own legwork and googling about problems you may have - it would be good to start getting into this mindset. Maybe check out the MDN regarding what @media print would do.

thanx sam for giving me good advice...