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>
What does CSS stand for?
Cascading Style Sheets
Which property is used to change the background color?
background-color
Which property is used to change the background color?
body {color: black;}
How do you display a border like this: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixe
border-width: 10px 1 px 5 pix 20px; (like a compass)
Which CSS property is used to change the text color of an element?
color
Which CSS property controls the text size?
font-size
How do you make the text bold?
font-weight:bold; Correct Answer!
How do you add a background color for all <h1> elements?
h1 {background-color:#FFFFFF;}
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?
p {font-weight:bold;}
Which HTML attribute is used to define inline styles?
style
How do you make each word in a text start with a capital letter?
text-transform:capitilize