Web Dev Applications C777

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/392

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.

393 Terms

1
New cards

The Internet

physical collection of computer networks and the cables that link them

2
New cards

World Wide Web

software connection between all the webpages connected through hyperlinks and URLs

3
New cards

HTML is a

Markup Languge

4
New cards

What does it mean to use a universal markup language?

consistent application of a single markup language and adherence to standards followed by most browsers.

5
New cards

What benefits does Universal markup language have?

consistent user experience and cross-browser/device compatibility and accessibility

6
New cards

What is an API?

set of definitions that facilitate building websites or applications by helping two programming components communicate.

7
New cards

Media API purpose?

provides the control of audio and video player in web pages

8
New cards

Workers API purpose?

provides the background execution of small programs on the end user's machine

9
New cards

Web Storage API purpose?

provides a locally stored database

10
New cards

SSE API purpose?

allows use of server side events 

11
New cards

<track> purpose?

optional child element used to set subtitles

12
New cards

Captions purpose?

For auditorily impared

13
New cards

Subtitles purpose?

For different languages or to read

14
New cards

Structure-based tags purpose?

Semantic tags that specifically designate their purpose relative to other elements, introduced with HTML5.

15
New cards

Defines the main content of the document body “<…>”

main

16
New cards

<section> purpose?

Defines portions or areas of a document as necessary. Can group other element types.

17
New cards

HTML tag for content that is related to or additional to the main article content

aside

18
New cards

What structural tag contains forum posts, company services, news articles, blogs, images, videos, social media posts.

article

19
New cards

What structural tag contains news feeds, ads, highlighted resource links, sidebars

aside

20
New cards

How is h1 to h6 indicated

largest to smallest

21
New cards

What tag to use for a numbered list?

<ol>

22
New cards

what tag to use for bullet points?

<ul>

23
New cards

What tags to use for a descriptive list?

<dl>, <dt>, and <dd>

24
New cards

What form tag creates a dropdown list?

select

25
New cards

What input attribute creates a box that only one can be clicked at a time?

type=”radio”

26
New cards

What input attribute creates boxes used alone or within a group of checkbox inputs. Any number of checkboxes can be selected at a time.

type=”checkbox”

27
New cards

<!Doctype> purpose?

tag used to define html version and/or what flavor was used to design the page

28
New cards

HTML Flavors purpose?

ensure backward compatibility, tells browser how to render the page.

29
New cards

Strict Flavor purpose?

The standard. Doesn’t allow use of depreciated elements, presentational elements, or frames.

30
New cards

Traditional Flavor purpose?

Allows use of depreciated or presentational elements, but no frames

31
New cards

Frameset Flavor purpose?

Allows the use of frames and depreciated or presentational elements

32
New cards

What is code validated against?

Standard in <!doctype> tag

33
New cards

A file starting with “<!DOCTYPE html>“ indicates what version of HTML?

HTML5

34
New cards

A file starting with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> indicates what version of HTML?

HTML4 with a transitional flavor

35
New cards

What are Syntax Errors

Spelling errors in code that might cause issues.

36
New cards

What are Logic Errors

Improperly written code

37
New cards

h1 { color:blue; } What is the selector?

h1

38
New cards

h1 { color:blue; } What is the property?

color

39
New cards

h1 { color:blue; } What is the value?

blue

40
New cards

h1 { color:blue; } What is the declaration?

{ color:blue; }

41
New cards

h1 { color:blue; font-size:12px; } What is the declaration block?

{ color:blue; font-size:12px; }

42
New cards

h1 { color:blue; font-size:12px; } What is the rule?

h1 { color:blue; font-size:12px; }

43
New cards

“#” purpose in HTML

Use to call an HTML element by its ID

44
New cards

“.” purpose in HTML

Use to call an HTML element by its class

45
New cards

“*” purpose in HTML

applies to all HTML elements

46
New cards

div p {color:yellow;} applies yellow color to

all p elements inside a div element

47
New cards

Normal Flow

HTML document with no CSS applied

48
New cards

Block elements

stacks vertically, cannot be next to other elements, fill entire page width by default, can have their width and height set

49
New cards

Inline elements

Stack horizontally, only take as much space as their content requires, can be next to other elements, cannot have height and width be set

50
New cards

What must you do first to position an element?

Set position to anything other than static

51
New cards

{ position: static; }

Element positioned according to document flow, not affected by top, bottom, left, right

52
New cards

{ position: relative; }

Positions element based on default static position. Elements are not removed from document flow and leave a “hole” where they used to be

53
New cards

{ position: fixed; }

keeps elements in place in the viewport, regardless of scrolling and document flow

54
New cards

{ position: absolute; }

Positions element based on parent. Removed from document flow, leaving NO hole. (parent must not be set as static)

55
New cards

{ position: sticky; }

switches elements positions to either fixed for relative depending on how far as user has scrolled.

56
New cards

display: inline-block;

creates an inline element that can be height and width adjusted

57
New cards

{ display: flex }

creates a flex container

58
New cards

{ display: hidden }

removes an element from document flow

59
New cards

What must be specified to use float to position element

width

60
New cards

clear property purpose

return elements to stacking behavior after using float

61
New cards

z-index purpose?

controls how far back or how far forward an element should appear on the web page when elements overlap

62
New cards

What order does padding and margin short hand go in?

clockwise from the top

63
New cards

What margin value will center an object top and bottom, and auto center left and right margin

margin: 0 auto;

64
New cards

What must be set in order to center an element

width

65
New cards

How do left and right margins behave when near each other?

they add together

66
New cards

How do top and bottom margins behave when near each other?

they collapse (the largest wins)

67
New cards

How create a circle border?

Set element to have same width and height. Set border-radius to 50%

68
New cards

{ background-size: cover; }

stretches or cuts background over entire container

69
New cards

{ background-size: contain; }

Resizes the images so image is fully visible

70
New cards

The background-origin property has a value named padding-box.

Which corner of the padding edge does the padding-box value set the background relative to?

upper left

71
New cards

{ visibility; hidden }

browser only hides content, meaning an empty space will be left

72
New cards

What is wrong with User Agent Stylesheets?

They often have default styling that differs between browsers.

73
New cards

CSS to reset Default User Agent Stylesheets

* { margin: 0; padding: 0; }

74
New cards

Flexbox

layout method for a one-dimensional layout, with rows OR columns.

75
New cards

Flexbox always contains:

Flex container including flex items, and the CSS display:flex

76
New cards

flex-direction

specifies the display direction of flex items in the flex container

77
New cards

flex-wrap

specified whether flex items should wrap or not

78
New cards

flex-flow

shorthand property for setting flex-direction and flex-wrap

79
New cards

justify-content

used to justify items when they don’t use all available space on the main horizontal axis

80
New cards

align-items

used to align flex items when they don’t use all space on cross axis (vertically)

81
New cards

align-content

used to align flex lines

82
New cards

Two properties set to center a flex item:

Justify-content and align-items

83
New cards

Grid Layout

layout system for a two-dimensional layout, with rows AND columns.

84
New cards

Grid Layout must contain:

Grid container and items, and the CSS display:grid

85
New cards

grid-column-start

specifies where to start a grid item

86
New cards

grid-column-end

specifies where to end a grid item

87
New cards

What is grid-column shorthand for?

grid-column-start and grid-column-end

88
New cards

grid-area shorthand for:

row start, column start, row end, column end

89
New cards

grid-template-areas

layout and size grid areas by name

90
New cards

fr

stands for fraction

91
New cards

{ font: … }

shorthand property for font properties

92
New cards

font-style

used to specify italic text

93
New cards

font-family

used to specify the font of a text

94
New cards

font-weight

specify the boldness of a font

95
New cards

font-variant

specifies small caps, etc.

96
New cards

Web Safe Font

fonts that are universally installed across all browsers and devices and should work fine.

97
New cards

How to add google font:

add a style sheet link in the <head> and then refer to the font in the CSS.

98
New cards

@font-face

used to access fonts from a remote server that have been manually stored

99
New cards

color

used to set the color of text

100
New cards

text-decoration-line

used to add overline, line-through, and underline