Docsity

HTML, CSS, and JavaScript Questions and Answers, Study Guides, Projects, Research of Web Application Development

Toggle sidebar
bg1
1
/
12
WGU C777 Web Development Applications
Study Guide Review
1.
HTML5,
CSS,
JavaScript:
The
web
development
trifecta
2.
main:
HTML5 tag defining the main body of a document. Cannot be the child of the header, nav, article, aside, or
footer elements.
3.
header
and
footer:
These elements can also be included in article, aside, nav, main, and section elements,
not just on the page itself
4.
source:
This
element
identifies
the
file(s)
to
use
in
a
video
or
audio
element
5.
style
guide:
A set of standards for the writing and/or design of documents
6.
IE9:
This version of IE is the first to support HTML5
7.
Add them via JS, make them block via CSS: What should you do to support HTML5 elements in
pre-IE9 browsers.
8.
selector:
The
term
for
the
part
of
CSS
code
that
refers
to
the
element
you
want
to
style
9.
declaration:
In
CSS,
the
term
for
a
property
and
value
pair.
It
must
always
end
with
a
semicolon
10.
rule:
In
CSS,
the
name
for
a
selector,
property
and
value
all
grouped
together
11.
inheritance:
The
word
"cascading"
in
CSS
refers
to
this
concept
12.
External, embedded, inline: The cascading order of CSS style sheets, ordered from lowest priority to
highest
13.
rel,
type,
href:
Linking to a CSS file requires these attributes in the link element
14.
style:
Embedded
CSS
should
be
placed
in
a
block
defined
by
this
element
15.
style:
Inline
CSS
should
be
placed
in
an
attribute
with
this
name
16.
document
flow:
The arrangement of content elements on a page and how the space is used. Does it fall
from top to bottom in stacks, or does
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download HTML, CSS, and JavaScript Questions and Answers and more Study Guides, Projects, Research Web Application Development in PDF only on Docsity!

1 /

WGU C777 Web Development Applications

Study Guide Review

1. HTML5, CSS, JavaScript: The web development trifecta

2. main: HTML5 tag defining the main body of a document. Cannot be the child of the header, nav, article, aside, or footer elements.

3. header and footer: These elements can also be included in article, aside, nav, main, and section elements, not just on the page itself

4. source: This element identifies the file(s) to use in a video or audio element

5. style guide: A set of standards for the writing and/or design of documents

6. IE9: This version of IE is the first to support HTML

7. Add them via JS, make them block via CSS: What should you do to support HTML5 elements in pre-IE9 browsers.

8. selector: The term for the part of CSS code that refers to the element you want to style

9. declaration: In CSS, the term for a property and value pair. It must always end with a semicolon

10. rule: In CSS, the name for a selector, property and value all grouped together

11. inheritance: The word "cascading" in CSS refers to this concept

12. External, embedded, inline: The cascading order of CSS style sheets, ordered from lowest priority to highest

13. rel, type, href: Linking to a CSS file requires these attributes in the link element

14. style: Embedded CSS should be placed in a block defined by this element

15. style: Inline CSS should be placed in an attribute with this name

16. document flow: The arrangement of content elements on a page and how the space is used. Does it fall from top to bottom in stacks, or does

2 / some content float to one side or the other?

17. curly braces: These are not used when defining inline CSS styles

18. clear: Use this CSS property to avoid having floating elements before/after another element

19. static: In CSS, the "normal, or default", position of block elements within a page

20. relative: In CSS, positioning a block element relative to another element

21. absolute: In CSS, this causes the element to appear to float above the document and can be positioned as needed. It is completely removed from the

rest of the page flow.

22. fixed: In CSS, this causes the element to remain in the same position when the page is scrolled

23. inherit: In CSS, this causes the element to inherit its parent's position

24. padding: In the box model, this is the space between the content and the border

25. margin: In the box model, this is the space between the border and surrounding elements

26. content, padding, border, and margin: Add all of these up to get the full size of an element in the box model

27. element[attribute$=value]: This CSS3 selector selects every instance of a specified element whose specified attribute ends with the

specified value

28. element[attribute*=value]: This CSS3 selector selects every instance of a specified element whose specified attribute contains the

specified substring value

29. element[attribute^=value]: This CSS3 selector selects every instance of a specified element whose specified attribute begins with the

specified value

4 /

47. transform: An ettect that changes an element's shape, size and/or position

48. transform-origin: Property that allows you to change a transformed element's position

49. transform-style: Property that specifies whether child elements will retain the parent element's position in 3D space

50. perspective: Property that specifies the perspective from which a 3D child element is viewed by defining how far it is placed from view

51. perspective-origin: Property that specifies the bottom position of a 3D element

52. backface-visibility: Property that defines whether or not an element is visible when it is rotated to face away from the viewer

53. IE10+, Firefox, Opera: These browsers support the transform property

54. Chrome 34, Safari 7, IE9: These browsers require a vendor prefix for transforms

55. transition: CSS3 ettects that change an element from one style to another style

56. transition-property: Property that specifies the CSS property that the transition will attect

57. duration: Properties that defines the amount of time that a transition takes in seconds (s) or milliseconds (s). Default is 0. If no value is specified, then no

transition occurs

58. timing function: Properties that describe the speed of a transition. Valid options are ease, linear, ease-in, ease-out, and ease-in-out

59. delay: Properties that defines how long before a transition or animation begins

60. @keyframes: At-rule used to create CSS3 animations

61. Chrome 34 and Safari 7: @keyframes requires a prefix for these two browsers

62. animation-name: Property that specifies the identifier for the @keyframes animation that binds it to a selector

5 /

63. animation-iteration-count: Property that specifies the number of times the animation will play. Default is 1.

64. animation-direction: Property that specifies whether to play the animation in reverse on alternate cycles. Requires an iteration count greater than 1.

Parameters are normal, reverse, alternate, alternate-reverse

65. animation-play-state: Property that specifies whether the animation is running or paused. Default is running

66. Chrome, Safari, and Firefox: The resize property only works in these browsers

67. appearance: CSS3 UI property that makes an element look like a standard user interface element, such as a button or window

68. box-sizing: CSS3 UI property that forces specified elements fit an area in a certain way

69. icon: CSS3 UI property that styles an element with an iconic equivalent

70. nav-index: CSS3 UI property that specifies the tabbing order for an element

71. nav-direction: CSS3 UI property that specifies where the cursor will navigate to when the user presses the "direction" arrow key

72. outline-offset: CSS3 UI property that draws an outline beyond the border edge (i.e., ottsets the outline) as specified

73. resize: CSS3 UI property that specifies whether an element can be resized by the user and how it can be resized

74. overlay: A CSS3 technique used to place an HTML element on top of another HTML element

75. z-index: Use this CSS3 property to create an overlay. Without it and by default, the HTML element listed last in the page appears at the top and vice versa.

76. letters, _, or $: The first character of a variable name in JavaScript must be one of these

77. letters, numbers, or _: Except for the first character, the name of a variable in JavaScript can contain these only

78. number, string, boolean, Object, null, undefined: The 6 data types in JavaScript

7 /

96. load-time errors: Typically syntax errors, these usually cause error alerts

97. run-time errors: Typically caused by improper use of commands, these errors can cause error alerts

98. logic errors: Errors that result in the script running improperly. They do not cause error alerts. The script may return unexpected results or may fail to

execute at all.

99. misspelling and case-sensitivity: The two most common JavaScript coding errors

100. canvas.getContext("2d"): The method to retrieve a canvas's drawing context

101. canvas.getContext("webgl"): The method to retrieve a canvas's WebGL context

102. change manifest file: How do you get browsers to download an updated Offline webapp if it's already been cached?

103. getCurrentPosition(): Geolocation API to retrieve the user's current location

104. watchPosition(): Geolocation API to request periodic updates of the user's position

105. clearWatch(): Geolocation API to cancel watching the user's location

106. draggable="true": Attribute and value to use on an element you want to be draggable

107. dragstart: Event specifying the start of a drag operation

108. dragover: Event specifying a drag operation has occurred

109. drop: Event specifying a drag operation has ended

110. FileList: File API that provides a directory list of file objects

111. FileReader: File API that provides read-only access to individual files

8 /

112. Blob: File API that provides the ability to divide a file into byte ranges

113. history.back(): History API method to go back a page

114. history.forward(): History API method to go forward a page

115. history.go(n): History API method to navigate based on an ottset n from the current page. The current page is 0, negative values go back, positive

forward.

116. history.pushState(state object, title, url): History API that adds a URL to the history stack

117. history.replaceState(state object, title, url): History API that replaces the current history URL with a ditterent one, instead of adding a

new one

118. history.length: History API to retrieve number of entries for the current window

119. history.state: History API that returns the state object at the top of the history stack

120. window.onpopstate: An event handler that is called when the history changes for a document in the browser window

121. text(): jQuery method that sets or returns the text content of selected elements

122. html(): jQuery method that sets or returns the content of selected elements (including HTML markup)

123. val(): jQuery method that sets or returns the values of form fields

124. attr(): jQuery method used to get and set attribute values. The method all can set multiple attributes simulta- neously.

125. append(): jQuery method to insert content at the end of the selected elements

126. prepend(): jQuery method to insert content at the beginning of the selected elements

10 /

145. week: HTML5 input type allowing the user to choose a date using the week and year (without time zone)

146. min and max: HTML5 attributes that can be used on input elements (like date, month, number, etc.) to define the limits of a range

147. datalist: HTML5 input element that specifies a list of pre-defined choices for an input element, displayed as a dropdown that narrows down as the user types

148. keygen: HTML5 input element that creates a key-pair generator field in the form

149. output: HTML5 input element that displays the result when a calculation is performed

150. list: Use this attribute to bind an input element to a datalist element

11 /

151. challenge: This keygen attribute must have its value set to its own name and causes the element value to be challenged upon submission

152. RSA, DSA, and EC: The valid options for the keytype attribute of a keygen form element.

153. for: This attribute specifies the IDs of elements whose values were used, and can be used to bind elements, such as a label element to an input element

154. form: This form element attribute specifies the form(s) on the page in which the element appears

155. disabled: This attribute disables an element when set to a value of its own name

156. autofocus: This attribute applies focus on the element when the page loads and set to a value of its own name

157. maxlength: Attribute that specifies the maximum number of characters that can be entered in the field by the user

158. name: Attribute that specifies a name for the element that can be used to reference it

159. placeholder: Attribute that specifies a short description to provide the user with a hint about the expected input in the field

160. required: Attribute that requires the user to select or enter a value before the form can be submitted

161. fieldset: This element is used to group elements so that related fields are placed together in a form

162. legend: This element allows you to add a caption for a group of items created by the fieldset element

163. label: This element enables you to add a label to an input element in a form

164. global attribute: An attribute used by many ditterent elements

165. novalidate: Attribute that directs the browser not to validate form data upon submission

166. autocomplete: Attribute that enables the form to suggest and automatically complete input as the user enters it

167. True: True or false: Data submission attributes of input elements override their form's attributes, unless the browser doesn't support HTML