Section 1

Preview this deck

text-transform:capitalize

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

1

All-time users

1

Favorites

0

Last updated

1 year ago

Date created

Mar 14, 2020

Cards (24)

Section 1

(24 cards)

text-transform:capitalize

Front

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

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

#demo

Front

How do you select an element with id 'demo

Back

<style>

Front

Which HTML tag is used to define an internal style sheet

Back

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

Front

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

Back

p {font-weight:bold;}

Front

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

Back

In the <head> section

Front

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

Back

font-family

Front

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

Back

/ this is a comment /

Front

How do you insert a comment in a CSS file

Back

margin-left

Front

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

Back

font-size

Front

Which CSS property controls the text size

Back

.test

Front

How do you select elements with class name 'test

Back

color

Front

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

Back

font-weight:bold;

Front

How do you make the text bold

Back

list-style-type: square;

Front

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

Back

div p

Front

How do you select all p elements inside a div element

Back

style

Front

Which HTML attribute is used to define inline styles

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

h1 {background-color:#FFFFFF;}

Front

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

Back

static

Front

What is the default value of the position property

Back

Cascading Style Sheets

Front

What does CSS stand for

Back

a {text-decoration:none;}

Front

How do you display hyperlinks without an underline

Back