• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/6

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

6 Cards in this Set

  • Front
  • Back

CSS padding property

HTML.ELEMENT {


padding:_ px


}



= defines a padding (space) b/w the text & border:


ex.


<head>


<style>


p {


border: 1px solid powderblue;


padding: 30px;


}


</style>


</head>


<body>


<h1>This is a heading</h1>


<p>This is a paragraph.</p>


</body>

CSS margin property

HTML.ELEMENT {


margin: __px;


}


= defines a margin (space) outside the border:


ex.


<head>


<style>


p {


border: 1px solid powderblue;


margin: 50px;


}


</style>


</head>


<body>


<h1>This is a heading</h1>


<p>This is a paragraph.</p>


</body>

Use CSS to set background color of a document to yellow.

<head>


<style>


body {


background-color:yellow;


}


</style>


</head>

Use CSS set font of document to "courier".

<head>


<style>


body {font-family:courier;}


</style>


</head>

Use CSS set text color of the document to red.

<head>


<style>


body {color:red;}


</style>


</head>

Use CSS to make a yellow, 1 pixel thick, border around all paragraphs.

<head>


<style>



p {border:1px solid yellow;}



</style>


</head>