Section 1

Preview this deck

Which CSS property is used to change the text color of an element?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (24)

Section 1

(24 cards)

Which CSS property is used to change the text color of an element?

Front

color

Back

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

Front

text-transform:capitalize

Back

Which HTML attribute is used to define inline styles?

Front

style

Back

How do you display hyperlinks without an underline?

Front

a {text-decoration:none;}

Back

How do you group selectors?

Front

separate each selector with a comma

Back

Which CSS property controls the text-size?

Front

font-size

Back

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

Front

margin-left

Back

How do you make the text bold?

Front

font-weight: bold;

Back

What does CSS stand for?

Front

Cascading style sheets

Back

What is the default value of the position property?

Front

static

Back

How do you select elements with class name "test"?

Front

.test

Back

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

Front

In the <head> section

Back

Which property is used to change the font of an element?

Front

font-family

Back

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

Front

h1 {background-color#fffff;}

Back

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

Front

No

Back

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

Front

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

Back

How do you make a list that lists its items with squares?

Front

list-style-type: square;

Back

Which is the correct CSS syntax?

Front

body {color: black;}

Back

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

Front

div p

Back

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

Front

#demo

Back

What is the correct CSS syntax for making all the <p> elements bold?

Front

p {font-weight: bold;}

Back

which property is used to change to change the background color?

Front

background-color

Back

How do you insert a comment in a CSS file?

Front

/ comment /

Back

Which HTML tag is used to define an internal style sheet?

Front

<style>

Back