CSS

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which HTML attribute is used to define inline styles?

Style

How do you select an element with id "demo"?

#demo

How do you group selectors?

Separate each selector with a comma

What do you use to change the background colour?

background-color

How do you make all <p> elements bold in CSS?

p {font-weight:bold;}

Which property is used to change the left margin of an element?

margin-left

How do you make each word in a text start with a capital letter?

text-transform:capitalize

What does CSS stand for?

Cascading Style Sheet

How do you add a background color for all <h1> elements?

h1 {background-color:#FFFFFF}

How do you insert a comment in a CSS file?

/* This is a comment */

When using the padding property; are you allowed to use negative values?

No

How do you select all p elements inside a div element?

div p

How do you control the text size on CSS?

font size

Where in an HTML document is the correct place to refer to an external style sheet?

In the <head> section.

What is the correct HTML for referring to an external style sheet?

<link rel="stylesheet" type="text/css" href="mystyle.css">


Kaugnay na mga set ng pag-aaral

CHEM 1211 - Knewton Alta 2.5 (Chemical Symbols)

View Set

11: Pricing Products and Services

View Set

Pharm 2 test 1 Lippincott quiz questions

View Set

Musculoskeletal System review quiz

View Set

Chapter 17: The Gastrointestinal Tract

View Set