Chapter 13 Quiz

Question 1) What is the correct code for including an external stylesheet called "stylesheet.css"?

a) <link rel="stylesheet" type="css" href="stylesheet.css">
b) <link rel="stylesheet" type="text" href="stylesheet.css">
c) <link rel="stylesheet" type="text/css" href="stylesheet.css">
d) You can't have an external stylesheet. You determine the look of the page with HTML!

Question 2) External stylesheets make for a faster overall website because...

a) External stylesheets are smaller than internal style information
b) External stylesheets are "cached" or "stored" by the browser
c) You can't have an external stylesheet! I just told you that!
d) External stylesheets are hosted on another person's server

Question 3) Which element and attributes would I use for internal style information?

a) <style type="text/css"> which is closed: </style>
b) <style> which is closed: </style>
c) <css> which is closed: </css>
d) You can't have internal style information...

Question 4) Inline styles are handy for...

a) One off styles
b) Development purposes
c) Testing an idea on how it will look
d) All of the above

In the next chapter, have a look at your first CSS style! Chapter 14 - CSS Background Colour