CSS

Ace your homework & exams now with Quizwiz!

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


Related study sets

Psychology Exam 4 Practice Questions

View Set

English Unit 5: ANIMAL FARM (Time4Learning)

View Set

A&P Chapter 9: Muscles and Muscle Tissue

View Set

C++ test 1, Exam 1 all T/F, Exam 1 Ch 2, CSCI 133 Data Structures Quiz 1, CSCI 133 - Exam 1, Candilocks

View Set

Logical Appeal, Argument, and Essay Structure Test

View Set

Teddy Roosevelt, Trust Busting, The Square Deal, and the PFDA

View Set