Lessons 1-3 Flashcards

1
Q

What does HTML stand for?

A

Hyper Text Markup Language

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

Describe an element.

A

An element is made up of a start tag and an end tag.

It can act as a defining container for a particular piece of content

It can define what the content looks like or can signify an aspect of the document

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

What is an attribute?

A

An attribute is used to define the characteristics of an element.
It is made up of the Name and Value, always functioning in pairs.

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

What are Name-Value pairs?

A

Name is the property you want to set e.g. align

Value is the value of that property e.g. “left”

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

Define mark-up language.

A

Language used to describe webpages. Mark up tags describe parts of a web page e.g

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

What does W3C stand for?

A

World Wide Web Consortium, an organisation of web developers who define the international standard for web development to ensure the web is accessible and safe for all.

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

What does WCAG stand for?

A

Web Content Accessibility Guidelines, guidelines to ensure that all content is Perceivable, Operable, Understandable, Robust as possible.

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

What does POUR stand for in regards to the Web Content Accessibility Guidelines?

A

Perceivable, Operable, Understandable, Robust.

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

Define a validator tool.

A

Validator tool is used to check the validity of web documents. It is a tool provided by W3C.

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

What does the doctype tag do?

A

Defines the type of code used in a document. HTML refers to the most recent version of HTML, for older editions you would specify e.g. HTML4.

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

What does the <a> element do?</a>

A

Anchor tag. These are useful for containing web links and inbound links.

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

What does the <p> element do?</p>

A

Paragraph tag. Used to contain text content.

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

What does the <img></img> element do?

A

Image tag. Used to contain .png and .jpg files. Must have alt text for accessibility.

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

What does the <div> element do?</div>

A

Non-semantic element, can be used to define a division or section of a webpage. Can contain any content and separate it from the main body.

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

What does the nav element do?

A

Used to contain navigation bars and tabs.

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

What is the function of the aside element?

A

Identifies content relating to the main content which isn’t contained within the main body.
Pulls it out separately from main body e.g. quote.

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

What is the function of the header tag?

A

Tag used to contain titles, headings, links and style sheets. Does not appear on the live page.

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

What does the article tag do?

A

Specifies independent content to the rest of the site.

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

What does the section element do?

A

Specifies a section of the document.

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

What is the function of the footer tag?

A

Defines the footer of the document, can contain page links, social tags and policies.

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

What is the function of a block level element?

A

Tags that affect an entire section of the HTML document.

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

What is the function of a text level element?

A

Tags that affect single words or sentences of the HTML document.

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

What does the td element do?

A

Defines the properties of an individual table cell.

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

What is the tr element for?

A

Defining table rows.

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

What do <ol> and </ol><ul> tags refer to?</ul>

A

Ordered and unordered lists used to define a list of items separated by numbering or bullet points.

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

What do <h1> and <h2> tags refer to?</h2></h1>

A

Heading tags, the lower the number the bigger the heading size.

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

What is the function of the title tag?

A

Used to identify the name/title of the document. Not visible on the live webpage.

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

What does this string of code do?

Form
Radio

A

Creates an interactive form to collect data from user input.
Type refers to how the response is retrieved e.g. text checkbox, radio, password.

Radio allows one pre-written item to be selected.

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

What are semantic elements?

A

A semantic element clearly describes its meaning to both the browser and the developer.

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

Define an app container.

A

Containers allow you to package your application and all relevant files into one place.

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

Define an app package.

A

A package file format used to collect together programs or modules that are required for an application to work.

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

Define the app cache.

A

Stored data available to speed up your web experience e.g. logos/images, frees up space on browser. You can clear data stored by cache

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

What does API stand for?

A

Application Programming Interface. A software intermediary which allows two applications to talk to one another.

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

Define an application state.

A

Term to represent the totality of everything needed to keep your app running.

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

What is CSS?

A

Stands for Cascading Style Sheets. Style sheets used to format the layout and design of a web page.

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

Name three types of CSS.

A

External CSS - applied by an anchor tag in header.

Internal CSS - style defined in the header in full.

In-line CSS - style defined inside specific element tags.

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

What are cookies?

A

Tracking function in web browsers, contains either localStorage or sessionStorage, tracks small pieces of data which may be valuable for web client in future.

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

Define de-bugging.

A

The process of finding and resolving bugs within a program/system.

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

What is a gesture?

A

Additional touch elements that can significantly improve the user experience such as “swipe”, “pinch/zoom”.
Created using pointer-events.

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

What does HTTP stand for?

A

Hypertext Transfer Protocol. Used to transfer data over the web. HTTPS is a secure server.

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

What is HTML5?

A

Most recent edition of web mark-up language.

New standard includes video/audio playback, drag & drop, geolocation, microdata, SSE, persistent local storage, new semantic elements.

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

Define identity permissions.

A

Permissions allowed to certain users to grant access to certain features of a program.

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

Define JavaScript.

A

A programming language used to create interactive elements within web browsers.

44
Q

What is a launcher icon?

A

A graphic that represents your application.

45
Q

Define localStorage.

A

Offline data storage with a prolonged expiration date. Can save numerous name-value pairs. Only saves to the browser in use.

46
Q

Define sessionStorage.

A

Offline data storage for a single web session. Saves name-value pairs but only as long as the browser period is still active.

47
Q

What is a media query?

A

Feature of CSS which enables content to adapt to different screen sizes.

48
Q

What is a metro-style user interface?

A

Full screen apps tailored for touch interaction e.g. Windows 10.

49
Q

Define namespace.

A

A class of elements with each element possessing a unique name. e.g. addresses, file locations.

50
Q

What is a permission set?

A

Set of rules defining what users or teams can do within a program.

51
Q

Define persistent state information.

A

The retention of a state after the process has been stopped. State is saved in persistent storage and reloaded when reopened.

52
Q

Define platform-independent.

A

Code can run on all operating systems.

53
Q

Define scripting language.

A

A computer language with a series of commands executing independently e.g. JavaScript.

54
Q

Define session state.

A

Allows a developer to store data about a user as they navigate through different web pages.

55
Q

Define touch events.

A

Low-level events that represent points of contact with a touch-sensitive surface.

56
Q

Define a runtime environment.

A

Environment in which a program or application is executed.

57
Q

Define an audio element.

A

An element used to embed sound content within a document.

58
Q

Define a canvas element.

A

An element used as a container in which to draw graphics via JavaScript.

59
Q

Define a codec.

A

A piece of software able to encode or decode media into a transferable format.

60
Q

Define compression.

A

Method of reducing files to a smaller number of components (1’s and 0’s) used to store the information.

61
Q

Define deprecation.

A

The process of taking older code and marking it as no longer useful, not immediately removed but replaced.

62
Q

What is an empty tag?

A

A tag which requires an opening tag but no closing tag. e.g. Line break <br></br>

63
Q

Define an entity.

A

A single person, place or thing about which data can be stored.

64
Q

What is a element?

A

An element which represents a caption or legend for a figure.

65
Q

What is a figcaption element?

A

Element designed to be used with element. Contains a figure e.g. image, chart; alongside a legend or caption.

66
Q

Define a global attribute.

A

Attributes common to all HTML elements e.g. class, id, style.

67
Q

What is nesting?

A

When HTML elements can be placed inside one another. It allows you to apply multiple tags to one piece of content.

68
Q

What is a raster image?

A

An image file defined as a grid of pixels e.g. .jpeg, .png, .gif.

69
Q

Define render.

A

Interpreting code into visual design.

70
Q

What does SVG mean?

A

Scalable vector graphics - media designed for web use.

71
Q

What is a video element?

A

An element which allows you to embed a video file within a document.

72
Q

What is the autofocus attribute?

A

Attribute which specifies which element should automatically get focus when the page loads. e.g. form input field.

73
Q

Define automatic validation.

A

Program starts parsing a document and marking errors after a notable delay in typing.

74
Q

Define parsing.

A

Process of analysing a string of symbols to conform to a formal set of syntax rules.

75
Q

Define client-side validation.

A

When you enter data the browser/server will check the data is correct within a formal set of syntax rules.

76
Q

What does the autocomplete element do?

A

Specifies a list of pre-defined input options. Used to provide autocomplete options. User will see a drop-down list.

77
Q

Define the email attribute.

A

Input attribute used to define a field for an email address. Has a built in DOMstring to validate input based on email syntax.

78
Q

Define the pattern attribute.

A

Attribute linked to input types. Expression which defines that the input’s value must match the pattern attribute to be validated. e.g. password.

79
Q

What is placeholder text?

A

Text used to temporarily hold a place in a document for the purpose of layout/typesetting.

80
Q

Define the required attribute.

A

Attribute which specifies that an input field must be filled out before submitting the form.

81
Q

What is a boolean attribute?

A

An attribute that can only be true or false.

82
Q

Define server-side validation

A

Validation performed by the server.

83
Q

Define scalable.

A

Easily upgraded or expanded.

84
Q

Define a user interface (UI).

A

Any pages, buttons, forms and other elements that allow an end user to interact with the device/software.

85
Q

What is a tag?

A

A tag is a keyword surrounded by angled brackets, most come in pairs and are case-sensitive.

86
Q

What is an empty tag?

A

A tag that doesn’t require an end tag e.g. br

87
Q

Most commonly used tags?

A

Doctype
Head
Title
Body

88
Q

What is nesting?

A

Placing elements inside each other.

89
Q

What is an entity?

A

A special character such as $ or tm or copyright. Incorporation of these is character encoding.

90
Q

Standard encoding type for HTML5?

A

UTF-8

91
Q

Deprecated elements from HTML4?

A

basefont, center, font, strike

acronym, frame.

92
Q

New elements in HTML5?

A

command (button), mark (highlights), time (displays readable time), meter, progress

93
Q

What are strong and em elements used for?

A

To stress or add importance.

94
Q

What is the small element used for?

A

To imply small text e.g. copyright

95
Q

What is a raster image?

A

Image made up of pixels

96
Q

What is a vector image?

A

Image made up of lines and curves based on mathematical expressions.

97
Q

What does Canvas element do?

A

Creates a container for graphics, JavaScript used to draw graphics dynamically.

98
Q

What is Scalable Vector Graphics?

A

Language used to describe 2D graphics in XML. Can be embedded within web pages.

99
Q

When to use Canvas over SVG?

A

Small drawings
Large number of objects
Small screens
Displaying real time data

100
Q

Control attributes for Video?

A

Poster
Autoplay
Controls
Loop

101
Q

Attributes for video

A

Source, width, height, controls

102
Q

What is compression?

A

Reduces the amount of space needed to store a file.

103
Q

Video compression?

A

Reduces size of video images whilst maintaining highest video quality with minimum bit rate.

104
Q

Main video formats?

A

MP4
OGG
WebM

105
Q

Audio attributes?

A

Autoplay, controls, loop

106
Q

Audio formats?

A

OGG
MP3
WAV