Section 1

Preview this deck

How do you display hyperlinks without an underline?

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

7 years ago

Date created

Mar 1, 2020

Cards (25)

Section 1

(25 cards)

How do you display hyperlinks without an underline?

Front

a {text-decoration:none;}

Back

How do you make the text bold?

Front

font-weight:bold;

Back

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

Front

list-style-type: square;

Back

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

Front

h1 {background-color:#FFFFFF;}

Back

Which property is used to change the background color?

Front

background-color

Back

Which HTML attribute is used to define inline styles?

Front

style

Back

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

Front

<style>

Back

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

Front

margin-left

Back

How do you group selectors?

Front

Separate each selector with a comma

Back

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

Front

#demo

Back

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

Front

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

Back

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

Front

Both font-family and font can be used

Back

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

What is the default value of the position property?

Front

static

Back

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

Front

In the <head> section

Back

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

Front

.test

Back

What does CSS stand for?

Front

Cascading Style Sheet

Back

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

Front

div p

Back

Which CSS property controls the text size?

Front

font-size

Back

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

Front

no

Back

How do you insert a comment in a CSS file?

Front

/ this is a comment /

Back

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

Front

p {font-weight:bold;}

Back

Which is the correct CSS syntax?

Front

body {color: black;}

Back

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?

Front

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

Back