Quiz
Quizz 2 15-30
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (15)
1What should fill the blank in the HTML code bellow?
<form method="post" action="mailto:info@linkedin.com" ____="text/plain"></form>- Aenctype
- Bmedia
- Ctype
- Drel
2What is the correct markup for alt attribute of an image?
- A<img src="cubism.jpg" alt="Version of ""Whistler's Mother"" in cubist style">
- B<img src="cubism.jpg" alt="Version of "Whistler's Mother" in cubist style">
- C<img src="cubism.jpg" alt='Version of "Whistler\'s Mother" in cubist style'>
- D<img src="cubism.jpg" alt="Version of \"Whistler's Mother\" in cubist style">
3In the code below, what is the purpose of the id attribute?
<p id="warning">Be careful when installing this product.</p>- AIt establishes that id is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.
- BIt establishes that id is a unique identifier in the document, used for styling CSS and with Javascript code.
- CIt establishes that id may be used for styling CSS several times per page.
- DIt establishes that id is a unique identifier in the website, used for styling CSS, scripting, and linking within a webpage.
4What is the best semantic markup for the sentence shown?
On July 21, 1969, Neil Armstrong said, "One small step for man, one giant leap for mankind."- A<p>
On <time datetime="1969-07-21">July 21, 1969</time>, Neil Armstrong said,
<q cite="https://www.hq.nasa.gov/alsj/a11l/a11.html"
>One small step for man, one giant leap for mankind.</q
>
</p> - B<p>
On July 21, 1969, Neil Armstrong said,
<q cite="https://www.hq.nasa.gov/alsj/a11l/a11.html"
>One small step for man, one giant leap for mankind.</q
>
</p> - C<p>
On July 21, 1969, Neil Armstrong said, <q>One small step for man, one giant leap for mankind.</q>
</p> - D<p>
On <time datetime="07-21-1969">July 21, 1969</time>, Neil Armstrong said,
<q cite="https://www.hq.nasa.gov/alsj/a11l/a11.html"
>One small step for man, one giant leap for mankind.</q
>
</p>
- A<p>
5What should fill the blank in this HTML code?
<a href="https://es.yahoo.com/" hreflang="____" target="_blank">Visita Yahoo</a>- Aes
- Bes-spanish
- Ces-es
- Dspanish
6Review the text in the red box in the image shown. What is the best way to code this in HTML?

- Aordered list
- Bunordered list inside a nav element
- Cordered list inside a nav element
- Dunordered list
7What is the best way to code three choices within a form so that the user can select only one item?
- A<label for="example">Make a choice:</label>
<datalist id="example">
<option value="Choice 1"></option>
<option value="Choice 2"></option>
<option value="Choice 3"></option>
</datalist> - B<p>Make a choice:</p>
<input id="choices" name="example" />
<datalist value="choices">
<option value="Choice 1"></option>
<option value="Choice 2"></option>
<option value="Choice 3"></option>
</datalist> - C<label for="example">Make a choice:</label>
<input list="example" id="choices" name="choices" />
<datalist id="choices">
<option value="Choice 1">Choice 1</option>
<option value="Choice 2">Choice 2</option>
<option value="Choice 3">Choice 3</option>
</datalist> - D<label for="example">Make a choice:</label>
<input list="choices" id="example" name="example" />
<datalist id="choices">
<option value="Choice 1"></option>
<option value="Choice 2"></option>
<option value="Choice 3"></option>
</datalist>
- A<label for="example">Make a choice:</label>
8How do you confirm that a document is written in HTML5?
- AThe server wraps the webpage in an HTML5 wrapper.
- BUse the <!DOCTYPE html> declaration that starts the document.
- CThe browser receives encoding from the server to display the document with HTML5.
- DIt is enclosed in a <html> tag.
9What does the code shown below accomplish?
<picture>
<source srcset="image1.jpg" media="(min-width: 1000px)" />
<source srcset="image2.jpg" media="(min-width: 750px)" />
<img src="image3.jpg" />
</picture>- AIt displays image1.jpg at 1000px and higher, image2.jpg at 750-999px, and image3.jpg at 749px and lower.
- BIt displays image1.jps at 1000px and higher and image2.jpg at 750-999px, image3.jpg is a default in case <picture> is not supported.
- CIt displays image1.jpg at 1000px and higher and image2.jpg at 750px and higher, image3.jpg is a default in case <picture> is not supported.
- DIt displays image1.jpg, image2.jpg and image3.jpg at 1000px and higher.
10What code will produce this table?

- A<table>
<scope cols="2" style="background-color: yellow">
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr>
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table> - B<table>
<colgroup span="2" style="background-color: yellow">
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr>
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table> - C<table>
<group cols="2" style="background-color: yellow">
<tr scope="row">
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr scope="row">
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table> - D<table>
<columns colspan="2" style="background-color: yellow">
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr>
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table>
- A<table>
11What is the <hr>tag typically used for?
- AThis tag is depreciated and should not be used.
- BIt designates a topic shift within a section at the paragraph level.
- CIt draws a horizontal line.
- DIt designates a shift of topic at the section level.
12What should fill the two blanks in the HTML code below?
<section itemscope itemtype="http://schema.org/Restaurant">
<h1 itemprop="name">Nadia's Garden</h1>
<p itemscope ______ ______>
<span itemprop="ratingValue">4.5</span> stars - based on
<span itemprop="reviewCount">120</span> reviews
</p>
</section>- Aitemprop="aggregateRating"itemref="http://schema.org/AggregateRating"
- Bitemprop="aggregateRating"itemtype="http://schema.org/AggregateRating"
- Citemid="aggregateRating" itemtype="http://schema.org/AggregateRating"
- Ditemid="aggregateRating" itemref="http://schema.org/AggregateRating"
13Which HTML snippet links back to the very top of a webpage?
- A<a id="top"></a>
<!-- placed at the top of the page -->
<a href="#top">back to top</a> - B<a name="top"></a>
<!-- placed at the top of the page -->
<a href="#top">back to top</a> - C<a href="#">back to top</a> <a href="#top">back to top</a>
- D<button href="#">back to top</button> <button href="#top">back to top</button>
- A<a id="top"></a>
14Which three tags where deprecated in HTML4 but returned to HTML5?
- A<rb> <rp> <rt>
- B<acronym> <code> <wbr>
- C<hgroup> <q> <wbr>
- D<b> <i> <u>
15 The _ tag is used for marking up a short code snippet, while the _ tag is used for marking up a longer block of code
- A<kdb>, <pre>
- B<pre>, <code>
- C<kdb>, <mark>
- D<code>, <pre>
Information
- Description
- Linkedin Html skill assessments quizzes Quiz on Quizz 2 15-30, created by Nouri Atef on 10/06/2022.
- Author
- Nouri Atef
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz