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

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.