Final Web Dev

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/90

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

91 Terms

1
New cards

What are the three primary components of responsive design theory identified by Ethan Marcotte

Flexible layout, responsive images, media queries

2
New cards

Define flexible layout

the page layout automatically adjusts to different widths

3
New cards

define responsive images

images that rescaled based on the size of the viewing device

4
New cards

define media queries

determine the properties of the device rendering the page so that appropriate designs can be delivered to specific devices

5
New cards

How do media queries interactive with device features

associate style sheet or style rule with a specific device or list of device features

6
New cards

How to create a media query

add a media attribute to either the link or style element in the head

media=”devices”

7
New cards

Define this media type: All

All output devices (the default)

8
New cards

Define this media type: braille

braille tactile feedback devices

9
New cards

Define this media type: embossed

paged braille printers

10
New cards

Define this media type: handheld

mobile devices with small screens and limited bandwidth

11
New cards

Define this media type: print

printers

12
New cards

Define this media type: projection

projectors

13
New cards

Define this media type: screen

computer screens

14
New cards

Define this media type: speech

speech and south synthesizers, and aural browsers

15
New cards

Define this media type: tty

fixed-width devices such as teletype machines and terminals

16
New cards

Define this media type: tv

television-type devices with low resolution, color, and limited scrollability

17
New cards

How can media queries be used to associate specific style rules with specific devices

@media devices {

style rules

}

18
New cards

How to target a device based on its features

media=”devices and|or (feature:value)

19
New cards

What do the words and and or used for in media queries

create media queries that involve different devices or features, or combinations of both

20
New cards

Define this media feature: Aspect-ratio

The ratio of the width of the display area to its height

21
New cards

Define this media feature: color

The number of bits per color component of the output device; if the device does not support color, the value is 0

22
New cards

Define this media feature: color-index

the number of colors supported by the output device

23
New cards

Define this media feature: device-aspect-ratio

The ratio of the device-width value to the device-height value

24
New cards

Define this media feature: device-height

The height of the rending surface of the output device

25
New cards

Define this media feature: device-width

The width of the rendering surface of the output device

26
New cards

Define this media feature: height

The height of the display area of the output device

27
New cards

Define this media feature: Monochrome

The number of bits per pixel in the devices monochrome frame buffer

28
New cards

Define this media feature: orientation

the general description of aspect ratio: equal to portrait when the height of the display area is greater than the width; equal to landscape otherwise

29
New cards

Define this media feature: resolution

The resolution of the output device in pixels, expressed in either dpi (dots per inch) or dpcm (dots per centimeter)

30
New cards

Define this media feature: width

the width of the display area of the output device

31
New cards

What is the mobile first principle

The overall page design starts with base styles that apply to all devices followed by style rules specific to mobile devices

32
New cards

When are tablet styles applied

when the screen width is 481 pixels or greater

33
New cards

When are desktop rules applied

build upon tablet styles, when the screen width exceeds 768 pixels

34
New cards

example of a media query matching screen devices with a max width of 480px

{@media only screen and (max-width: 480px) }

35
New cards

what are the two types of viewports

visual and layout

36
New cards

visual viewport

displays the web page content that fits within a mobile screen

37
New cards

layout viewpoint

contains the entire content of the page, some of which may be hidden from the user

38
New cards

what selector can be used to select the submenu that is immediately preceded by a hovered submenu title

a.submenTitle:hover+ul.submenu

39
New cards

what does this mobile emulator do: Android SDK

Software development kit for Android developers

40
New cards

what does this mobile emulator do: iOS SDK

Software development kit for iphone, ipad, and other iOS devices

41
New cards

what does this mobile emulator do: mobile phone emulator

Online emulation for a variety of mobile devices

42
New cards

what does this mobile emulator do: opera mobile sdk

developer tools for the opera mobile

43
New cards

what direction does the main axis point to

horizontal or vertical

44
New cards

What is the cross axis used for

perpendicular to main axis, used to define height or width of each item

45
New cards

how to define an element as a flexbox

display: flex; or display: infline-flex;

46
New cards

Complete list of flexboxes

display: -webkit-box;

display: -moz-box;

display: -ms-flexbox;

display: -webkit-flex:

display: flex;

47
New cards

how are flexbox’s arranged by default

starting from the left and moving to the right

48
New cards

how can the orientation of a flexbox be changed

flex-direction: direction;

49
New cards

what does the row option do in flex-directions

lays out the flex of items from left to right

50
New cards

what does the column option do in flex-directions

creates a verticle layout starting from the top moving downward

51
New cards

what does the row-reverse and column-reverse option do in flex-directions

layout the items bottom-to-top and right-to-left respectively

52
New cards

how can flex items wrap to a new line

flex-wrap: type;

53
New cards

what properties are flex items determined by

base size, growth value, shrink value

54
New cards

what does the base size do

defines the initial size of the item before the browser attempts to fit it to the flexbox

55
New cards

how is a basis size set

flex-basis: size;

56
New cards

what does auto do in flex

use to automatically resize the item from its default size (equivalent to flex: 1 1 auto;)

57
New cards

what does initial do in flex

the default value (equivalent to flex: 0 1 auto;)

58
New cards

what does none do in flex

use to create an inflexible item that will not grow or shrink (equivalent to flex: 0 0 auto;)

59
New cards

what does inherit do in flex

use to inherit the flex values of its parent element

60
New cards

how to specify a different placement

justify-content: placement;

61
New cards

what does flex-start do:

items are positioned at the start of the main axis

62
New cards

what does flex-end do:

items are positioned at the end of the main axis

63
New cards

what does center do:

items are centered along the main axis

64
New cards

what does space-between do:

items are distributed evenly with the first and last items aligned with the start and end of the main axis

65
New cards

what does space-around do:

items are distributed evenly along the main axis with equal space between them and the ends of the flexbox

66
New cards

what does flex-start do in alignment:

lines are positioned at the start of the cross axis

67
New cards

what does flex-end do in alignment:

lines are positioned at the end of the cross axis

68
New cards

what does stretch do in alignment:

lines are stretched to fill up the cross axis (the default)

69
New cards

what does center do in alignment:

lines are centered along the cross axis

70
New cards

what does space-between do in alignment:

lines are distributed evenly with the first and last lines aligned with the start and end of the cross axis

71
New cards

what does space-around do in alignment:

lines are distributed evenly along the cross axis with equal space between them and the ends of the cross axis

72
New cards

what is a navicon

it is used to indicate the presence of hidden navigation menus in mobile websites

73
New cards

what is a print style sheet

formats the printed version of a web document

74
New cards

what is every printed page in CSS defined as

page box

75
New cards

what two areas are page boxes composed of

page area and margin area

76
New cards

page area

contains the content of the document

77
New cards

margin area

contains the space between the printed content and the edges of the page

78
New cards

what does always do in page breaks

used to always place a page break before or after an element

79
New cards

what does avoid do in page breaks

use to never place a page break

80
New cards

what does left do in page breaks

used to place a page break where the next page will be a left page

81
New cards

what does right do in page breaks

use to place a page break where the next page will be a right page

82
New cards

what does auto do in page breaks

use to allow the printer to determine whether or not to insert a page break

83
New cards

what does inherit do in page breaks

insert the page break style from the parent element

84
New cards

What is a web table

HTML structure that consists of multiple table rows

85
New cards

How are table element rows marked

tr

86
New cards

what is the general structure of a web table

<table>

<tr>

table cells

</tr>

table cells

</tr>

87
New cards

what are the two types of table cells web tables support

header cells and data cells

88
New cards

what do header cells contain

content placed at the top or a column or beginning of a row, marked using the th element

89
New cards

what do data cells contain

content within columns or rows, marked using the td elements

90
New cards

how to choose between separate or collapse borders

border-collapse: type;

91
New cards