Quiz
Quizz 5 60-75
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (15)
1What is the semantic meaning of the <hr> tag?
- AIt draws a horizontal line.
- BThis tag is deprecated and should not be used.
- CIt designates a separation of sections within an <article>.
- DIt designates a topic shift within a section at the paragraph level.
2How will a video look displayed on a fully loaded webpage if the <video> tag is used and the autoplay attribute is not set?
- AIt will display a random frame from a video, unless the poster attribute is set.
- BIt will display the first frame of the video, unless the poster attribute is set.
- CIt will display nothing unless the poster attribute is set.
- DIt will display a black window unless the poster attribute is set.
3What is the correct way to describe an empty element?
- AIt has opening and closing tags but no child content.
- BIt display nothing on a website.
- CIt has no child content and no closing tag.
- DIt has child content but no closing tag.
4What is the purpose of async in this code?
<script async src="myscript.js"></script>- AIt downloads the script from the server when resources allow.
- BIt runs the script after HTML parsing is complete.
- CIt runs the script when the script is ready.
- DIt pauses the parsing of HTML code while the script runs.
5What does this code do on a page you are visiting for the first time?
<audio autoplay loop src="sound.mp3" type="audio/mpeg"></audio>- AWhen the Play button is pressed, the browser plays the sound over and over again until the user stops it.
- BThe browser plays the sound once automatically in the background. The user has no control over the sound.
- CThe browser plays the sound automatically and continuously in the background. The user may stop the sound at any tune.
- DIt does nothing. Modern browsers require some form of interaction before they let a page autoplat with audio.
6What is the difference between the <head> and <header> tags?
- AThere is only one <head> tag per page, while there may be many <header> tags.
- BThe <head> tag may contain CSS and Javascript links, while the <header> tag may contain headings and navigational links.
- Call of these answers
- DThe <head> tag contains meta information, while the <header> tag contains navigation, logos, and other page identifying content.
7In this code, what is the purpose of defer?
<script defer src="myscript.js"></script>- AIt downloads the script from the server when resources allow.
- BIt runs the script after HTML parsing is complete.
- CIt runs the script when the script is ready.
- DIt pauses the parsing of HTML code while the script runs.
8The code below contains some errors. Which choice corrects all of the errors?
<table>
<tr>
Cell 1
</tr>
<td>Cell 2</td>
<caption>
A table
</caption>
</table>- A<caption>A table</caption>
<table>
<td>
<tr>Cell 1</tr>
<tr>Cell 2</tr>
</td>
</table> - B<caption>A table</caption>
<table>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
</table> - C<table>
<caption>A table</caption>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
</table> - D<table>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<caption>A table</caption>
</table>
- A<caption>A table</caption>
9Given the file and directory structure shown here, what is the correct element to place in file profit.html to link to info.html?

- A<a href="../work/info.html">See Information </a>
- B<a href="../info.html">See Information </a>
- C<a href="../../info.html">See Information </a>
- D<a href="info.html">See Information </a>
10When should you use the <article> element?
- AFor blog posts and other social media items
- BFor the main content area of your website
- CWhen the content stands alone as a unit, is suitable for syndication, or is reusable
- DTo associate comments with a blog post
11Which list comprises three empty elements?
- A<area>
<embed>
<strong> - B<input>
<br>
<p> - C<link>
<meta>
<title> - D<wbr>
<base>
<source>
- A<area>
12Which snippet of HTML, when clicked, makes a phone call on a mobile device?
- A<a href="tel:802-555-1212">Call me</a>
- B<a href="phone">802-555-1212</a>
- C<a href="tel">802-555-1212</a>
- D<a href="phone:802-555-1212">Call me</a>
13What is the purpose of the class attribute?
- AClasses allow CSS to select specific elements on the page. You may list as many class names within the class attribute as you wish, separated by spaces.
- BClasses allow CSS and JavaScript to select specific elements on the page. You may list only one class name per class attribute.
- CClasses allow CSS to select specific elements on the page. You may list only one class name per class attribute.
- DClasses allow CSS and JavaScript to select specific elements on the page. You may list as many class names within the class attribute as you wish, separated by spaces.
14Which choice is not a legal type attribute for the <input> tag?
- A<input type="color">
- B<input type="tel">
- C<input type="week">
- D<input type="num">
15What is the most semantic way to mark up this sentence so that "happy talk must die" is rendered as an inline quote?
As Steve Krug once said, happy talk must die.- A<p>As Steve Krug once said, <b>happy talk must die.</b> </p>
- B<p>As Steve Krug once said, <i>happy talk must die.</i> </p>
- C<p>As Steve Krug once said, <blockquote>happy talk must die.</blockquote> </p>
- D<p>As Steve Krug once said, <q>happy talk must die.</q> </p>
Information
- Description
- Linkedin Html skill assessments quizzes Quiz on Quizz 5 60-75, created by Nouri Atef on 20/06/2022.
- Author
- Nouri Atef
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz