Section 1

Preview this deck

margin-left

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 (25)

Section 1

(25 cards)

margin-left

Front

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

Back

text-transform:capitalize

Front

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

Back

font-size

Front

Which CSS property controls the text size?

Back

list-style-type: square;

Front

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

Back

<style>

Front

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

Back

h1 {background-color:#FFFFFF;}

Front

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

Back

font-family

Front

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

Back

In the <head> section

Front

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

Back

#demo

Front

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

Back

border-width:10px 1px 5px 20px;

Front

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 = 1pixel?

Back

p {font-weight:bold;}

Front

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

Back

.test

Front

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

Back

/ this is a comment /

Front

How do you insert a comment in a CSS file?

Back

font-weight:bold;

Front

How do you make the text bold?

Back

style

Front

Which HTML attribute is used to define inline styles?

Back

div p

Front

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

Back

body {color: black;}

Front

Which is the correct CSS syntax?

Back

Separate each selector with a comma

Front

How do you group selectors?

Back

background-color

Front

Which property is used to change the background color?

Back

color

Front

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

Back

static

Front

What is the default value of the position property?

Back

a {text-decoration:none;}

Front

How do you display hyperlinks without an underline?

Back

Cascading Style Sheets

Front

What does CSS stand for?

Back

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

Front

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

Back

No

Front

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

Back