tags:

views:

74

answers:

2

Which stylesheet will be used when the page is printed from the browser’s print command with the below code?

<link rel="stylesheet” type=”text/css” href=”core.css”>
<link rel=”stylesheet” type=”text/css” media=”screen” href=”comman.css”>
  1. core.css
  2. common.css
  3. core.css + common.css
  4. Varies from browser to browser

Again this question is from a quiz.

A: 

Why not go code this and find out yourself? :/

Edit: Well actually you don't even need to do much. Just download a couple of css stuff, apply them to a page and print via the browser.

AKofC
This should be posted as a comment.
rahul
Oh sorry, new here. How do I delete this?
AKofC
rajakvk
Click the delete link at the bottom of your answer.
rahul
I only see link, edit, and flag. :/
AKofC
A: 

I think it would be

Varies from browser to browser

If you need to include a media type for a printable document then you have to use the print media type which is intended for paged material and for documents viewed on screen in print preview mode.

Media type screen is intended primarily for color computer screens.

Since this media type is not specified in any of the style sheet I think the browser setting will decide how to print the data.

For detailed information see

Media Types

rahul