Deck 13: Web Development and HTML/CSS
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/98
Play
Full screen (f)
Deck 13: Web Development and HTML/CSS
1
For the URL "http://www.bbc.com/news/meltingArcticIceFlows.j p g", news is the
A) directory path to the target file.
B) domain.
C) target file.
D) web server computer or a subdomain.
A) directory path to the target file.
B) domain.
C) target file.
D) web server computer or a subdomain.
A
2
What does the "WG" in WHATWG stand for?
A) World Governance
B) World Group
C) Wide Guard
D) Working Group
A) World Governance
B) World Group
C) Wide Guard
D) Working Group
D
3
Given the following HTML code that forms the top of a web page, what instruction should appear above the code?
<html>
<head>
<title>Sample Web Page
</head>
A) <!DOCTYPE html>
B) <doctype html>
C) <DOCTYPE>
D) <doctype>
<html>
<head>
<title>Sample Web Page
</head>
A) <!DOCTYPE html>
B) <doctype html>
C) <DOCTYPE>
D) <doctype>
A
4
The purpose of the W3C's Tidy tool is to:
A) organize the web pages currently open in a user's browser.
B) organize the web pages stored on a web server.
C) check a web page to ensure that it complies with HTML5 standard.
D) check a web page to ensure that it complies with coding-convention style rules.
A) organize the web pages currently open in a user's browser.
B) organize the web pages stored on a web server.
C) check a web page to ensure that it complies with HTML5 standard.
D) check a web page to ensure that it complies with coding-convention style rules.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following elements is in the heading content model category?
A) a
B) h5
C) h10
D) title
A) a
B) h5
C) h10
D) title
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
6
To provide an indication that text that has been deleted, what container element should you surround the text with?
A) del
B) delete
C) erase
D) expunge
A) del
B) delete
C) erase
D) expunge
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
7
You can use the time element's datetime attribute to specify the date by using which of the following formats for its value?
A) yyyy-mm-dd
B) yyyy-monthName-dd
C) monthName/dd/yy
A) yyyy-mm-dd
B) yyyy-monthName-dd
C) monthName/dd/yy
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
8
The kbd element indicates that its enclosed text is:
A) input for a program.
B) output for a program.
C) a program-generated error message.
D) programming code.
A) input for a program.
B) output for a program.
C) a program-generated error message.
D) programming code.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
9
Given the following CSS rule, which type of selector is used?
)funky {color: darkorchid;}
A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
)funky {color: darkorchid;}
A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following CSS-rule locations has the highest priority for determining the application of CSS rules?
A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following CSS-rule locations has the lowest priority for determining the application of CSS rules?
A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
12
Why do coding conventions suggest not using the style attribute?
A) The HTML5 standard does not include the style attribute.
B) It leads to code inefficiencies.
C) It defeats the purpose of CSS: keeping presentation separate from content.
A) The HTML5 standard does not include the style attribute.
B) It leads to code inefficiencies.
C) It defeats the purpose of CSS: keeping presentation separate from content.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following would be a valid comment in an external CSS file?
A) <!-- this is a CSS comment. -->
B) <comment>this is a CSS comment.</comment>
C) // this is a CSS comment
D) /* this is a CSS comment. */
A) <!-- this is a CSS comment. -->
B) <comment>this is a CSS comment.</comment>
C) // this is a CSS comment
D) /* this is a CSS comment. */
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following is an integer-format RGB value for dark blue?
A) rgb(100,100,255)
B) rgb(200,200,255)
C) rgb(50,100,50)
D) rgb(0,0,100)
A) rgb(100,100,255)
B) rgb(200,200,255)
C) rgb(50,100,50)
D) rgb(0,0,100)
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
15
Suppose a web page has a elements inside a nav container. There is a nav type selector rule that applies a red background to matched elements and there is a nav > a child selector rule that applies a blue background to matched elements. What color will be applied to the a elements?
A) Red
B) Blue
C) It is unclear because the rules conflict.
A) Red
B) Blue
C) It is unclear because the rules conflict.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
16
To create a flexbox layout, you should use which of the following?
A) The flex container
B) The flexiblebox container
C) display: flex within a CSS rule
D) flexible: box within a CSS rule
A) The flex container
B) The flexiblebox container
C) display: flex within a CSS rule
D) flexible: box within a CSS rule
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
17
To help a screen reader know which header cell a data cell is associated with:
A) use the th element's data attribute with a value that matches the associated data cell's id value.
B) use the td element's headers attribute with a value that matches the associated header cell's id value.
C) apply a header: heading-cell-id CSS rule to the data cell where the heading-cell-id value matches the associated header cell's id value.
A) use the th element's data attribute with a value that matches the associated data cell's id value.
B) use the td element's headers attribute with a value that matches the associated header cell's id value.
C) apply a header: heading-cell-id CSS rule to the data cell where the heading-cell-id value matches the associated header cell's id value.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
18
In organizing a website's links, a hierarchical structure is good for:
A) presenting a long article.
B) websites with multiple second-level pages that serve as starting points for different areas within your website.
C) websites that need to be highly accessible.
A) presenting a long article.
B) websites with multiple second-level pages that serve as starting points for different areas within your website.
C) websites that need to be highly accessible.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
19
Given the following CSS rule, what type of selector is used?
* {color: blue;}
A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
* {color: blue;}
A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
20
To specify uppercase letters for a list, what value should you use with the list-style-type CSS property?
A) decimal
B) titlecase
C) uppercase-letters
D) upper-alpha
A) decimal
B) titlecase
C) uppercase-letters
D) upper-alpha
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
21
With its 24-bit color palette, the JPEG image file format:
A) can store any picture with no color degradation.
B) is limited in its ability to store pictures accurately (because it introduces color degradation).
C) encrypts data (such as credit card information) to help with transaction security.
A) can store any picture with no color degradation.
B) is limited in its ability to store pictures accurately (because it introduces color degradation).
C) encrypts data (such as credit card information) to help with transaction security.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
22
For HTML's content model categories, the phrasing category includes elements that would be appropriate for describing catch phrases that serve as headings for other content.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
23
For HTML's content model categories, the flow category is a superset of several other categories.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
24
When the pre element surrounds whitespace, whitespace collapsing takes place.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
25
It is legal to have a p element inside another p element.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
26
The span element is a generic phrasing element that does not provide any special meaning by itself.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
27
A global attribute is an attribute that can be used with any element.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
28
CSS inheritance is when a CSS property value flows down from a parent element to one or more of its child elements.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
29
The CSS display property's table-cell value can be used for mimicking a th element.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
30
For an element that uses absolute positioning, if you use the left property, you must also use the right property.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
31
With relative positioning, an element's specified position is relative to its containing block.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
32
All the images on a web page share the same color palette.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
33
One of the main benefits of the GIF image file format is that with its 8-bit color palette, GIF files tend to be small.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
34
Normally, you should omit an img element's width and height attributes so that the image displays with its natural size.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
35
One way to implement responsive images is with resolution switching. Resolution switching is when you provide a list of images for different versions of the same picture where the images have the same aspect ratios, but different sizes.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
36
One way to implement responsive images is with art direction. Art direction is when you provide a list of images for different versions of the same picture where the images have different aspect ratios.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
37
In 1993, Tim Berners-Lee and Dan Connolly submitted the first formal proposal for ______ to the Internet Engineering Task Force (IETF).
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
38
The blank, newline, and tab characters are referred to as __________ characters. They are invisible when displayed on the browser window.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
39
The "ins" in the ins element stands for ______.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
40
If you want absolute positioned boxes to have their text aligned vertically at their bottoms, then for each box you should include not only the top property (with the same value for each box), but also the ______ property (with the same value for each box).
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
41
A pseudo-class begins with a colon and it conditionally selects elements from a group of elements specified by the selector at the immediate left of the colon. If there is no explicit selector, then the implicit selector is ______.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
42
The ______ image file format was invented in 1996 as an open-source alternative to the GIF format because the GIF format was copyright protected.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
43
By default, browsers use purple to display links that have been clicked recently. They are formally known as ______ links.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
44
You should always surround attribute values with _______, thus forming a string.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
45
What does it mean for container elements to be properly nested?
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
46
To improve the following code's style, what should you do with the " character references?
<p>And God said "Let there be light."</p>
<p>And God said "Let there be light."</p>
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
47
Consider the following code:
<img id="zoomba-class" src="zoomba.j p g" alt="zoomba class">
Assume the above img element is positioned within the current web page. Provide an element that would link to the above img element.
<img id="zoomba-class" src="zoomba.j p g" alt="zoomba class">
Assume the above img element is positioned within the current web page. Provide an element that would link to the above img element.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
48
What is the purpose of the ol element's start attribute?
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
49
To establish relative positioning, what value should be used with the position property?
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
50
To handle browsers that support different audio file formats, you can provide multiple options between your audio start and end tags. Which of the following could serve as a valid option?
A) <source src="../audio/hippoRoar.wav" type="audio/wav">
B) <audio source="../audio/ hippoRoar.wav" type="audio/wav">
C) <source src="../audio/hippoRoar.xmp" type="audio/xmp">
D) <audio source="../audio/ hippoRoar.xmp" type="audio/xmp">
A) <source src="../audio/hippoRoar.wav" type="audio/wav">
B) <audio source="../audio/ hippoRoar.wav" type="audio/wav">
C) <source src="../audio/hippoRoar.xmp" type="audio/xmp">
D) <audio source="../audio/ hippoRoar.xmp" type="audio/xmp">
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
51
Which of the following is a valid CSS rule that generates a color gradient background?
A) body {background-image: linear-gradient(to right, blue, red);}
B) body {background-image: color-spectrum(horizontal, blue, red);}
C) body {background-color: spectrum(blue, red);}
A) body {background-image: linear-gradient(to right, blue, red);}
B) body {background-image: color-spectrum(horizontal, blue, red);}
C) body {background-color: spectrum(blue, red);}
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
52
An advantage of client-side processing over server-side processing is that client-side processing:
A) tends to be more efficient when the calculations require a lot of programming code.
B) tends to be more efficient when the calculations require large amounts of data.
C) is better for proprietary code.
D) tends to be faster.
A) tends to be more efficient when the calculations require a lot of programming code.
B) tends to be more efficient when the calculations require large amounts of data.
C) is better for proprietary code.
D) tends to be faster.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
53
Which of the following is the best way to prompt for number of children and store the input as a number?
A) numOfKids = parseInt(prompt("Number of children:", ""));
B) numOfKids = parseFloat(prompt("Number of children:", ""));
C) numOfKids = confirm("Number of children:"));
D) prompt(numOfKids, "Number of children:"));
A) numOfKids = parseInt(prompt("Number of children:", ""));
B) numOfKids = parseFloat(prompt("Number of children:", ""));
C) numOfKids = confirm("Number of children:"));
D) prompt(numOfKids, "Number of children:"));
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
54
A text control is an example of a "one line plain text edit control." Which of the following attribute-value pairs could be added to an input element to create another type of one line plain text edit control?
A) type="edit"
B) type="tel"
C) type="textarea"
A) type="edit"
B) type="tel"
C) type="textarea"
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
55
Which of the following displays a numOfPurchases variable's value in the browser's debugging frame?
A) console.log("numOfPurchases = " + numOfPurchases);
B) debug.display("numOfPurchases = " + numOfPurchases);
C) <debug>numOfPurchases = %numOfPurchases</debug>
A) console.log("numOfPurchases = " + numOfPurchases);
B) debug.display("numOfPurchases = " + numOfPurchases);
C) <debug>numOfPurchases = %numOfPurchases</debug>
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
56
Suppose you have a class named Student with a class variable named numOfStudents. How should you access the numOfStudents property?
A) Use numOfStudents by itself.
B) this.numOfStudents
C) Student.numOfStudents
A) Use numOfStudents by itself.
B) this.numOfStudents
C) Student.numOfStudents
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
57
Suppose you have a class named Employee with a name property and a standard setName method. What is the situation after the following code executes?
Var emp1 = new Employee("Emme");
Var emp2 = emp1;
Emp2.setName("Jessie");
A) For their name properties, emp1 stores "Emme" and emp2 stores "Jessie".
B) For their name properties, both emp1 and emp2 store "Emme".
C) For their name properties, both emp1 and emp2 store "Jessie".
D) Both emp1 and emp2 store null.
Var emp1 = new Employee("Emme");
Var emp2 = emp1;
Emp2.setName("Jessie");
A) For their name properties, emp1 stores "Emme" and emp2 stores "Jessie".
B) For their name properties, both emp1 and emp2 store "Emme".
C) For their name properties, both emp1 and emp2 store "Jessie".
D) Both emp1 and emp2 store null.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
58
When you call the addEventListener method, you pass two arguments to it. The first argument is for the name of a predefined event built into the DOM. What is the second argument for?
A) The name of a function that serves as a listener for the first argument's event firing
B) The name of the class where the first argument's event is defined
C) The control whose event is being listened to
A) The name of a function that serves as a listener for the first argument's event firing
B) The name of the class where the first argument's event is defined
C) The control whose event is being listened to
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
59
What do canvas's transformation operations allow you to do with graphics objects?
A) Move in a straight line, rotate, and scale
B) Duplicate, delete, and move in a straight line
C) Duplicate and create
A) Move in a straight line, rotate, and scale
B) Duplicate, delete, and move in a straight line
C) Duplicate and create
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
60
In JavaScript, which of the following creates an empty array?
A) var [] arr1;
B) var arr1 = new Array();
C) var arr1();
D) var arr1;
A) var [] arr1;
B) var arr1 = new Array();
C) var arr1();
D) var arr1;
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
61
In JavaScript, to find the number of elements in an array, use:
A) the length property.
B) the size property.
C) the elements method.
D) It is impossible to find the number of elements in an array.
A) the length property.
B) the size property.
C) the elements method.
D) It is impossible to find the number of elements in an array.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
62
Suppose you have an array named carMakes with two elements in it. When the following JavaScript code executes, what happens?
CarMakes[2] = "GM";
A) The "GM" value overlays the array's second element's value.
B) The array dynamically expands and adds a third element with a "GM" value to the array at index position 2.
C) There is an "out of range" error because there is no element at index position 2.
CarMakes[2] = "GM";
A) The "GM" value overlays the array's second element's value.
B) The array dynamically expands and adds a third element with a "GM" value to the array at index position 2.
C) There is an "out of range" error because there is no element at index position 2.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
63
What is the difference between a method heading and a function heading?
A) A method heading uses the word method at the left.
B) A function heading uses the word function at the left.
C) A method heading includes parameters and a function heading provides arguments.
D) A function heading includes parameters and a method heading provides arguments.
A) A method heading uses the word method at the left.
B) A function heading uses the word function at the left.
C) A method heading includes parameters and a function heading provides arguments.
D) A function heading includes parameters and a method heading provides arguments.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
64
What does the following CSS rule do?
Input:valid:focus {color: green;}
A) If an input element contains valid input and focus is on the element, the element's foreground color turns green.
B) If a form is submitted and focus is on the form, the form turns green.
C) If a user enters valid input into a prompt dialog, the dialog turns green.
Input:valid:focus {color: green;}
A) If an input element contains valid input and focus is on the element, the element's foreground color turns green.
B) If a form is submitted and focus is on the form, the form turns green.
C) If a user enters valid input into a prompt dialog, the dialog turns green.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
65
An if statement is an example of a:
A) A declaration statment
B) A branching statement
C) A looping statement
A) A declaration statment
B) A branching statement
C) A looping statement
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
66
With a CSS web font at-rule, the src attribute is assigned a list of font files. The browser downloads the files first, then decides which one to use.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
67
The following JavaScript variable name exhibits proper coding conventions:
dog_name
dog_name
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
68
An object is defined by its set of properties and its set of behaviors.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
69
All element objects have an outerHTML property, which stores the element's code, including the element's start and end tags.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
70
The Document Object Model models all of the parts of a web page (elements, attributes, and plain text) as nodes in a node tree.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
71
A local variable is a variable that can be used only within the function in which it is declared.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
72
For the "if, else" form of the if statement, you may include only one if clause, but as many else clauses as you like.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
73
Coding conventions suggest that you declare a named constant at the point where the named constant is used.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
74
If you call the checkValidity method from an input control object and the method call returns false, that means the input control's value is invalid.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
75
Typically, an infinite loop is indicative of a bug.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
76
With a do loop, the loop is guaranteed to execute at least one time.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
77
To group radio buttons together, each of the radio button controls should have a name attribute with the same value.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
78
A radio button's checked property is associated with the radio button element's checked attribute, which means the checked property returns true if the radio button's element has a checked attribute, and the checked property returns false if the radio button's element has no checked attribute.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
79
Normally, within a class definition, you should include a constructor as the class's first member.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
80
To specify font size (e.g., 2em) and font family (e.g., times new roman) values for canvas text, you should use the context object's font-weight and font-family properties, respectively.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck