zybooks chapters 3
<ol> <li><img src="George-Washington.jpg" alt="George Washington"></li> <li><img src="John-Adams.jpg" alt="John Adams"></li> <li><img src="Thomas Jefferson.jpg" alt="Thomas Jefferson"></li> </ol> T or F The <img> tag is a parent container.
F
<p>Click on the "swoosh" to go to Nike Headquarters. <br> <a href="http://nike.com/"><img src="nike-swoosh.jpg" alt="Nike swoosh"></a></p> T or F? The <p> tag is an inline tag.
F
T or F? An <option> tag must have a value attribute.
F
T or F? Browser fallbacks are only used to make new features work on old browsers.
F
T or F? Buttons always submit form data to a server.
F
T or F? It is better to avoid new HTML5 elements and attributes because of incomplete support for some new HTML5 features.
F
T or F? The audio element's audio can always be paused by the user.
F
T or F? The range and number widgets are interchangeable choices for entering numbers.
F
<form> <input type="checkbox" name="check1" checked> <input type="checkbox" name="check2"> <input type="radio" name="radio1" value="1" checked> <input type="radio" name="radio2" value="2"> <input type="radio" name="radio3" value="3"> <input type="submit"> </form> If the user clicks submit without changing anything in the form, how many items will be sent to the server?
2
<form> <input type="checkbox" name="check1" checked> <input type="checkbox" name="check2"> <input type="radio" name="radio1" value="1" checked> <input type="radio" name="radio2" value="2"> <input type="radio" name="radio3" value="3"> <input type="submit"> </form> What is the maximum number of items that can be sent to the server?
5
<body> <header> <h1>The White House</h1> </header> <main> <p> The White House is the official residence of the President of the United States. </p> <img src="WhiteHouse.jpg" alt="Picture of the White House"> <address> White House<br> 1600 Pennsylvania Avenue Northwest<br> Washington, DC 20500 </address> </main> </body> Which tag creates the container that holds the White House address?
<address>
Which element can create a button with an image?
<button>
Which tag is a generic block tag without any implied meaning?
<div>
Which tag creates a text box widget?
<input>
<body> <header> <h1>The White House</h1> </header> <main> <p> The White House is the official residence of the President of the United States. </p> <img src="WhiteHouse.jpg" alt="Picture of the White House"> <address> White House<br> 1600 Pennsylvania Avenue Northwest<br> Washington, DC 20500 </address> </main> </body> Which tag creates the parent container that holds the paragraph?
<main>
<body> <header> <h1>The White House</h1> </header> <main> <p> The White House is the official residence of the President of the United States. </p> <img src="WhiteHouse.jpg" alt="Picture of the White House"> <address> White House<br> 1600 Pennsylvania Avenue Northwest<br> Washington, DC 20500 </address> </main> </body> Which tag creates the container that holds the picture?
Main
Allows the server to identify which data came from which widget.
Name
What types of tags can be inside an inline tag?
Only inline tags
Provides a hint to the user about the information being requested.
Placeholder
<ol> <li><img src="George-Washington.jpg" alt="George Washington"></li> <li><img src="John-Adams.jpg" alt="John Adams"></li> <li><img src="Thomas Jefferson.jpg" alt="Thomas Jefferson"></li> </ol> T or F The <li> tag is a parent container.
T
<p>Click on the "swoosh" to go to Nike Headquarters. <br> <a href="http://nike.com/"><img src="nike-swoosh.jpg" alt="Nike swoosh"></a></p> T or F? The <a> tag is an inline tag.
T
<p>Click on the "swoosh" to go to Nike Headquarters. <br> <a href="http://nike.com/"><img src="nike-swoosh.jpg" alt="Nike swoosh"></a></p> T or F? The <br> tag is an inline tag.
T
<p>Click on the "swoosh" to go to Nike Headquarters. <br> <a href="http://nike.com/"><img src="nike-swoosh.jpg" alt="Nike swoosh"></a></p> T or F? The <img> tag is an inline tag.
T
Given the following HTML: <ol> <li><img src="George-Washington.jpg" alt="George Washington"></li> <li><img src="John-Adams.jpg" alt="John Adams"></li> <li><img src="Thomas Jefferson.jpg" alt="Thomas Jefferson"></li> </ol> T or F The <ol> tag is a parent container.
T
T or F? A drop-down menu only allows one option to be selected.
T
T or F? A <fieldset> can group drop-down menus, buttons, and other widgets.
T
T or F? A plug-in is often required to play media embedded in a web page using <embed> or <object>.
T
T or F? A polyfill is code that creates a browser fallback for a feature if the web browser does not support that feature.
T
T or F? Having users enter dates, colors, email, and numbers using the specialized widgets is preferable when an appropriate widget is available.
T
T or F? Multiple <source> tags can be used to specify different video formats.
T
T or F? Playing video uses significantly more network bandwidth than playing just audio.
T
T or F? Some plug-ins are not available for all web browsers.
T
T or F? The audio element can play audio as soon as the audio file has downloaded to the browser.
T
T or F? The size of the video displayed by a video element is configurable.
T
Allows selecting a month and year.
month
input type: llow the user to enter a month, and year
month
Which attribute must be set to create a text box widget?
no attribute
input type: Ensure the user types a valid number between 0 and 10.
number
Ensure that the user types only one letter in the range A through F. <input type="text" __________="[A-F]">
pattern
input type: Allow the user to use a slider to select a number between 0 and 10.
range
Ensure that the temperature entered will not be less than -273.16. <input type="number" _____________="-273.16">
min
input type: Create a combo box that uses the datalist with id "states".
list
Ensure that the date entered will not be greater than the end of 2025. <input type="date" _____________="2025-12-31">
max
Which input element attribute limits the number of characters the user can type in a text box or password field?
maxlength
Ensure the user enters a value in the input field. <input type="number" _______________________>
required
A browser that is only capable of playing MP3 audio will download which file?
sound.mp3
What <iframe> attribute indicates the URL of the web page to display in the iframe?
src
Ensure that the value will change by multiples of 100. <input type="range" ________________="100">
step
Allows entering a time more easily.
time
Indicates which kind of widget is displayed by the browser.
type
Allows entering URLs.
url
<form> <input type="checkbox" name="check1" checked> <input type="checkbox" name="check2"> <input type="radio" name="radio1" value="1" checked> <input type="radio" name="radio2" value="2"> <input type="radio" name="radio3" value="3"> <input type="submit"> </form> What is the minimum number of items that will be sent to the server?
1
Tag that surrounds interactive content in an HTML document.
<script
Tag that surrounds presentational content in an HTML document.
<style>
Which tag creates a text area widget?
<textarea>
Which tag creates the container that holds the entire web page?
Body
What types of tags can be inside a block tag?
Both inline and block tags
Which method will the browser use to communicate with the server?
HTTP GET request
Uniquely identifies the specific input tag to the browser.
ID
What is the width of a block tag?
The full width of the block's parent container
Allows the input to start with a default value.
Value
input type: Allow the user to select some combination of red, blue, and green.
color
input type: Allow the user to enter a day, month, and year.
date
Allows input of a date and time.
datetime-local
Allows input of an email address.
Which attribute inside the <label> tag is used to associate the label with a widget?
for
<form action="https://google.com/"> </form> To which server will the browser send the form data?
google.com
What URL plays a YouTube video automatically? https://www.youtube.com/embed/g4hvUvBmoaA https://www.youtube.com/embed/g4hvUvBmoaA?autoplay=1 https://www.youtube.com/embed/g4hvUvBmoaA?autoplay=1&mute=1
https://www.youtube.com/embed/g4hvUvBmoaA?autoplay=1&mute=1
<form> <input type="checkbox" name="check1" checked> <input type="checkbox" name="check2"> <input type="radio" name="radio1" value="1" checked> <input type="radio" name="radio2" value="2"> <input type="radio" name="radio3" value="3"> <input type="submit"> </form> Which attribute should be added for each widget to add labels to the form?
id