Web Design 3 Flashcards

1
Q

internal stylesheet code

A

Defined inside the element, inside the < section of an HTML page

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

id #

A

firstname { background-color: yellow; }

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

class .

A

.intro { background-color: yellow; }

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

contextual selectors

A

example footer H1

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

ID #

A

Used 1 time per page

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

Class .

A

Used multiple times per page

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

a:link

A

Unvisited link

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

a:visited

A

Visited link

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

a:active

A

Selected Link

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

a:hover

A

Selects links on mouse over

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

Layout

A

The position property specifies the type of positioning method used for an element (relative, fixed, or absolute)

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

width, height, auto

A

To format the page

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

float

A

Positioning on the page

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

absolute positioning

A

The element is positioned realtive to its first positioned (not static) ancestor element

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

relative positioning

A

The element is positioned relative to its normal position, so “left:20px” adds 20 pixels to the element’s LEFT position

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

fixed positioning

A

The element is positioned relatice to the browser window

17
Q

understand static positioning

A

Browser defaults

18
Q

align

A

The text-align property is used to set the horizontal alignment of text. A text can be left or right aligned, centered, or justified.

19
Q

margin

A

Margin properties are used to create space around elements, outside of any defined border.

20
Q

padding

A

Padding properties are used to generate space around an element’s content, inside of any defined borders.

21
Q

buttons

A

shape that is created using CSS that the includes interactivity (User Driven Events)

22
Q

rounded corners

A

border-radius - A shorthand property for setting all the four borders

23
Q

colored button

A

.Example: button1 {background-color: #4CAF50;} /* Green */

24
Q

Navigation using CSS

A

list-style-type: none; - Removes the bullets. A navigation bar does not need list markers

25
Q

fade in/out

A

ease - specifies a transition effect with a slow start, then fast, then end slowly (this is default)

26
Q

image slider

A

Code that creates a “slideshow” on the web page