Quiz
Quizz 3 30-45
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (15)
1 What does the <label> element do?
- AIt labels webpages with important information.
- BIt creates an ID for a corresponding input element.
- CIt overrides the name attribute's value on a child input element.
- DIt programmatically associates a text label with an interface element.
2To get a link to open in a new window or tab, use the _ attribute
- A_blank
- B_self
- C_new
- D_parent
3What is the most semantically accurate way to mark up the sentence shown below? Note: "TLAs" stands for "three-letter acronyms."
We are fond of our TLAs in web design.- A<p>We are fond of our <span title="three-letter acronyms">TLAs</span> in web design.</p>
- B<p>We are fond of our TLAs in web design.</p>
- C<p>we are fond of our <abbr title="three-letter acronyms">TLAs</abbr> in web design.</p>
- D<p>we are fond of our <acronym title="three-letter acronym">TLAs</acronym> in web design.</p>
4What is the correctly nested markup for this list?

- A<ul>
<li>
office
<ol style="circle">
<li>staple</li>
<li>paper</li>
</ol>
</li>
<li>
groceries
<ol style="circle">
<li>milk</li>
</ol>
</li>
</ul> - B<ul>
<li>Office Supplies
<ul>
<li>Stapler</li>
<li>Paper clips</li>
</ul>
</li>
<li>Groceries
<ul>
<li>Milk</li>
</ul>
</li>
</ul> - C<ul>
<li>office</li>
<li>staple</li>
<li>paper</li>
<li>groceries</li>
<li>milk</li>
</ul>
- A<ul>
5What should fill the blank below?
<link href="phone.css" rel="stylesheet" _____="print" />- Atitle
- Btype
- Cdevice
- Dmedia
6What is the semantically correct way to mark up this layout?

- A<p>
"Making money is what you have to do to sustain a business—being driven to make something of value
and purpose is much more powerful."
</p>
<p><em>Lynda Weinman</em></p> - B<blockquote>
<q
>"Making money is what you have to do to sustain a business—being driven to make something of
value and purpose is much more powerful."</q
>
<cite><em>Lynda Weinman</em></cite>
</blockquote> - C<blockquote>
<p>
"Making money is what you have to do to sustain a business—being driven to make something of
value and purpose is much more powerful."
</p>
<cite>Lynda Weinman</cite>
</blockquote> - D<section>
<q
>"Making money is what you have to do to sustain a business—being driven to make something of
value and purpose is much more powerful."</q
>
<cite>Lynda Weinman</cite>
</section>
- A<p>
7Which choice uses the correct terminology in describing this markup: <p>info</p>?
- AThe element opener is <p>, the element closer is </p>, and the element information is info.
- BThe start tag is <p>, the end tag is </p>, and the enclosed HTML is info.
- CThe start tag is <p>, the end tag is </p>, and the element content is info.
- DThe start element is <p>, the end element is </p>, and the tag content is info.
8What is the difference between <input type="submit" value="click me"> and <button type="submit">Click me</button>?
- AThere is no difference. Both will render a button that submits a form.
- BBoth will submit a form. However, the <button> can have content other than text, like an image or nested HTML elements, while the <input> cannot.
- C<input type="button"> has been deprecated in HTML5. You should use the <button> tag instead.
- DBoth will submit a form. However, the <input> can have content other than text, like an image or nested HTML elements, while the <button> cannot.
9What is the best semantic way to indicate that text refers to keyboard entry?
- A<p>Press the <tt>Enter</tt> key to proceed.</p>
- B<p>Press the <kbd>Enter</kbd> key to proceed.</p>
- C<p>Press the <samp>Enter</samp> key to proceed.</p>
- D<p>Press the Enter key to proceed.</p>
10What does this code do?
<audio controls>
<source src="sound.mp3" type="audio/mpeg" />
<source src="sound.ogg" type="audio/ogg" />
<source src="sound.wav" type="audio/wav" />
</audio>- AThe browser chooses the first supported format to play with the browser's default controls.
- BThe browser chooses the best audio format to play with JavaScript-provided controls.
- CThe browser plays each sound file in order automatically. The user has controls to stop playback.
- DThe browser chooses the first supported sound file and will loop the sound until the user stops it.
11What attribute applies a keyboard shortcut hint to the current element?
- Aaccesskey
- Bshortcut
- Ckeyboard
- Daccess
12What is the correct way to code a link that, when clicked, will send an email to email@example.com with a subject of "Hello"?
- A<a href="mailto:email@example.com&subject=Hello">Click me</a>
- B<a href="mailto:email@example.com">Hello</a>
- C<a href="mailto:email@example.com?subject=Hello">Click me</a>
- D<a href="mailto:email@example.com?&subject=Hello">Click me</a>
13Which tag is the root element of an HTML document?
- A<DOCTYPE html>
- B<html>
- C<body>
- D<root>
14Which code snippet creates the layout shown, starting at <table> and ending at </table>?

- A<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
<tr>
<td rowspan="2">Table cell 3</td>
</tr> - B<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
<td>Table cell 3</td>
</tr> - C<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
<tr>
<td colspan="2">Table cell 3</td>
</tr> - D<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
<tr>
<td>Table cell 3</td>
</tr>
- A<tr>
15Which choice is NOT a legal value for the name attribute within a <meta> tag?
- Acharset
- Bviewport
- Cgenerator
- Dauthor
Information
- Description
- Linkedin Html skill assessments quizzes Quiz on Quizz 3 30-45, created by Nouri Atef on 11/06/2022.
- Author
- Nouri Atef
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz