Unit 3 CSS
What is the correct HTML for referring to an external style sheet?
<link rel="stylesheet"type="text/css"href="mystyle.css">
Which HTML tag is used to define an internal style sheet?
<style>
Where in an HTML document is the correct place to refer to an external style sheet?
In the <head> section
What is the correct CSS syntax for making all the <p> elements bold?
a {font-weight:bold;}
How do you display hyperlinks without an underline (CSS)?
a {text-decoration:none;}
Which HTML attribute is used to define inline styles?
style
How do you insert a comment in a CSS file?
/*this is a comment*/
Which is the correct CSS syntax?
body {color: black;}
What does CSS stand for?
Cascading Style Sheets
Which CSS property is used to change the text color of an element?
Color
Which CSS property controls the text size?
Font-size
Which property is used to changed the background color (CSS)?
background-color
How do you add background color for all <h1> elements (CSS)?
h1 {background-color:#ffffff:}