notes Flashcards

1
Q

how to put space between boxes

A

margin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

1how to put space from inside of the button

A

padding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

padding is an alternative to

A

height and width

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how to align boxes

A

vertical - align : top or bottom

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how to represent a paragraph in html

A

<p></p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to target a class in css

A

put a full stop before the class name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

property for centering text

A

text - align:centre

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

how to make text bold

A

font - weight : bold

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

how to change text font

A

font-family: whatever font here

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how to force a sentence into two lines

A

use width

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how to change the spacing in between lines

A

line-height:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is a html entity

A

lets us take out special characters such as checkmarks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what are text elements and some examples

A

an element that changes text within a paragraph
- strong></strong makes the specific text bold
- <u> underlines it
- <span> allows u to style it urself</span></u>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is nesting

A

an element in another element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what is a void element

A

an element that doesn’t have a closing tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

block elements

A

take up the whole line

17
Q

in-line block element

A

only takes up as much space needed

18
Q

how to convert block to inline block

A

display : inline-block

19
Q

how to target two classes in css

A

using a comma between both classes

20
Q

how to underline

A

text-decoration : underline

21
Q

how to create a shadow

A

box-shadow

22
Q

how to add spacing on the inside of a button

A

padding

23
Q

how to centre text

A

text - align :centre

24
Q

what does margin do

A

puts spacing between paragraps/words etc

25
Q

an inlign element

A

appears within a line of text