IT202 quizzes
Review the code below. <label for="pizza">Choose a Pizza Style and Size:</label><select id="Style and Size"> <optgroup label="The New Yorker"> <option value="ny10">10"</option> <option value="ny12">12"</option> <option value="ny16">16"</option> </optgroup> <optgroup label="The Chicago"> <option value="chi10">10"</option> <option value="chi12">12"</option> <option value="chi16">16"</option> </optgroup> How many items/options can be selected at any given time?
1
Review the code below. How many radio buttons can be selected at any given time? <input type= "radio" name = "post office" value = "USPS"> United States Post Office <input type="radio" name="delivery" value="FedEx">Federal Express <input type="radio" name="delivery" value="UPS">United Parcel Service
2
Review the code below. How many check boxes can be selected at any given time? <input type="checkbox" name="address" value="Home">Home Address<input type="checkbox" name="delivery" value="FedEx">Federal Express<input type="checkbox" name="delivery" value="UPS">UPS
3
the valid structure of an HTML document requires
a head element and a body element within an html element
review the piece of code below and indicate the type of tag it is <img src="flag.gif" alt="American Flag"> Flag
an empty tag
By default, which type of element is displayed on a new line?
block elements
The HTML element that contains the elements that are displayed in a browser is the
body element
Which of these inline elements should be used to apply italics to a portion of text?
em
In HTML, you must enclose an attribute's value within quotation marks
if it contains one or more spaces
Review the following code <a href="books/myjavscript.html">How to create JavaScript scripts</a> The <a> element in this piece of code goes to a web page
in a folder that is subordinate to the current page
Review the piece of code below <p id="copyright" class="base_color">Copyright 2022</p> Which of the following answers describes what is contained in the code.
it has two attributes in an opening tag
Review the <img> element below: <p><img src="../images/flag.gif" alt="American Flag"></p> What will occur when the HTML code is rendered
it will display "American Flag" if the image can't be found
To put a starting value (hint) in a form element when it's first displayed, you can use this element attribute:
placeholder
a document-relative path is
relative to the folder for the current document
the data in an HTML table is defined by the
td element
a description list consists of
terms and descriptions
The title element in the head section of an HTML document specifies the text
that is displayed in the browser's tab for the page
What occurs when form data is sent to the server with the GET method
the data remains in the browser history and cache, the data is sent as part of the URL
In most cases, you should use the POST method for submitting a form because
the form data that's sent is more secure & the data is hidden from the user
the attributes of a form element specify
the submission method and the URL for the server-side script/resource
