3.1.2 Introduction To Css Quiz
Question: What does CSS stand for?
Answer: Cascading Style Sheets
Question: What is the Correct HTML for referring to an external style sheet?
Answer: <link rel=”stylesheet” type=”text/css” href”mystyle.css”>
Question: Where in an HTML document is the correct place to refer to an external style sheet?
Answer: In the <head> section
Question: Which HTML tag is used to define an Internal style sheet?
Answer: <style>
Question: Which HTML attribute is used to define inline styles?
Answer: style
Question: Which is the correct CSS syntax?
Answer: body {color: black;}
Question: How do you insert a comment in a CSS file?
Answer: /
/
Question: Which property is used to change the background color?
Answer: background-color
Question: How do you add a background color for all <h1> elements?
Answer: h1 {background-color:#FFFFFF}
Question: Which CSS property is used to change the text color of an element?
Answer: -color