Web Dev Applications C777

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

1/331

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.

332 Terms

1
New cards

The Internet

a 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

Markup language that includes a series of tags (defined by W3C) in a file that are displayed as elements in a web browser.

4
New cards

HTML5

provided important upgrades; videos, audio, responsive elements, and dynamic graphs without flash or third-party tools, structure-based tags, SVG, accessibility features, scatterplot positioning of elements, offline access, drag-and-drop, geolocation, and more.

5
New cards

Universal markup language

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

6
New cards

What does Universal markup language ensure?

consistent user experience, better code, and cross browser and device compatibility and accessibility

7
New cards

API

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

8
New cards

Media API

provides the control of audio and video player in web pages

9
New cards

Workers API

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

10
New cards

Web Storage API

provides a locally stored database

11
New cards

SSE API

allows use of server side events 

12
New cards

<track>

optional child element used to set subtitles

13
New cards

Captions

For auditorily impared

14
New cards

Subtitles

For different languages or to read

15
New cards

Structure-based tags

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

16
New cards

<main>

Defines the main content of the document body

17
New cards

<header>

Defines the top of a web page or a section of content.

18
New cards

<section>

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

19
New cards

<article>

Defines site content accompanying the main content

20
New cards

<aside>

Defines content that is related to but aside from or additional to the main article content

21
New cards

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

<article>

22
New cards

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

<aside>

23
New cards

<footer>

Defines the bottom of a web page or a section of content.

24
New cards

How is h1 to h6 indicated

Largest to smallest

25
New cards

What to use for a numbered list?

<ol>

26
New cards

what to use for bullet points?

<ul>

27
New cards

What to use for a descriptive list?

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

28
New cards

What form tag creates a dropdown list?

<select>

29
New cards

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

type=”radio”

30
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”

31
New cards

<!Doctype>

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

32
New cards

HTML Flavors

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

33
New cards

Strict Flavor

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

34
New cards

Traditional Flavor

Allows use of depreciated or presentational elements, but no frames

35
New cards

Frameset Flavor

Allows the use of frames and depreciated or presentational elements

36
New cards

What is code validated against?

Standard declared in <!doctype> tag

37
New cards

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

HTML5

38
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

39
New cards

Syntax Errors

Spelling errors in code that might cause issues. Often can be ignored or fixed by the browser

40
New cards

Logic Errors

Improperly written code. Logical errors are not detected by browser.

41
New cards

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

h1

42
New cards

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

color

43
New cards

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

blue

44
New cards

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

{ color:blue; }

45
New cards

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

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

46
New cards

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

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

47
New cards

Use to call an HTML element by its ID

#

48
New cards

Use to call an HTML element by its class

.

49
New cards

applies to all HTML elements

*

50
New cards

applies same style to all element in the group

,

51
New cards

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

all <p> elements placed anywhere inside a <div> element

52
New cards

Normal Flow

HTML document with no CSS applied

53
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

54
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

55
New cards

What must you do first to position an element?

set position to anything other than static

56
New cards

{ position: static; }

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

57
New cards

{ position: relative; }

positions elements relative to its default static position. Elements are not removed from document flow and leave a “hole” where they used to be

58
New cards

{ position: fixed; }

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

59
New cards

{ position: absolute; }

positions elements relative to its parent and removes it from document flow meaning all other elements will ignore it. (parent must not be set as static)

60
New cards

{ position: sticky; }

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

61
New cards

{ display: inline-block }

creates an inline element that can be height and width adjusted

62
New cards

{ display: flex }

creates a flex container

63
New cards

{ display: hidden }

removes an element from document flow

64
New cards

What must be specified to use float to position element

width

65
New cards

What does {clear: left;} do?

used to clear a left float

66
New cards

z-index

controls how far back or how far forward an element should appear on the web page when elements overlap Doesn’t work with static elements

67
New cards

What order does padding and margin short hand go in?

clockwise from the top

68
New cards

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

margin: 0 auto

69
New cards

What must be set in order to center an element

width

70
New cards

left and right margins when near each other are:

added together

71
New cards

top and bottom margins when near each other are collapsed (the larger one win)

72
New cards

To create a circle boarder

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

73
New cards

{ background-size:cover; }

stretches or cuts background to cover entire container

74
New cards

{ background-size:contain; }

Resizes the images and maintains aspect ratio so image is fully visible. Will scale image to greatest height and width that fits within specified area.

75
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

76
New cards

{ visibility; hidden }

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

77
New cards

What is wrong with User Agent Stylesheets?

They often have default styling that differs between browsers.

78
New cards

CSS to reset Default User Agent Stylesheets

* { margin: 0; padding: 0; }

79
New cards

Flexbox

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

80
New cards

Flexbox always contains:

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

81
New cards

flex-direction

specifies the display direction of flex items in the flex container

82
New cards

flex-wrap

specified whether flex items should wrap or not

83
New cards

flex-flow

shorthand property for setting flex-direction and flex-wrap

84
New cards

justify-content

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

85
New cards

align-items

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

86
New cards

align-content

used to align flex lines

87
New cards

Center a flex item:

set Justify-content and align-items to center

88
New cards

Grid Layout

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

89
New cards

Grid Layout must contain:

Grid container and items, and the CSS display:grid

90
New cards

grid-column-start

specifies where to start a grid item

91
New cards

grid-column-end

specifies where to end a grid item

92
New cards

grid-column

shorthand for grid-column-start and grid-column-end

93
New cards

.item1 { grid-column 1 / 4; } Where does item1 start and end?

starts at column 1 and ends at 4

94
New cards

grid-row

95
New cards

.item1 { grid-row 1 / span 2; }

First grid item is placed at grid-row 1 and let it span 2 rows total

96
New cards

grid-area shorthand for:

row start, column start, row end, column end

97
New cards

grid-template-areas

Use grid-area to assign names to grid items. They can then be referred to by the grid-template-areas property.

98
New cards

grid-template-columns

 defines number of columns in grid layout, and can define the width of each column.

99
New cards

grid-template-rows

defines height of each row in grid layout.

100
New cards

fr

stands for fraction