GoConqr has a new look! Let us know what you think.

Quiz

Quizz 2 15-30

Nouri Atef 15 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (15)

  1. 1What should fill the blank in the HTML code bellow?
    <form method="post" action="mailto:info@linkedin.com" ____="text/plain"></form>
    1. Aenctype
    2. Bmedia
    3. Ctype
    4. Drel
  2. 2What is the correct markup for alt attribute of an image?
    1. A<img src="cubism.jpg" alt="Version of ""Whistler's Mother"" in cubist style">
    2. B<img src="cubism.jpg" alt="Version of "Whistler's Mother" in cubist style">
    3. C<img src="cubism.jpg" alt='Version of "Whistler\'s Mother" in cubist style'>
    4. D<img src="cubism.jpg" alt="Version of \"Whistler's Mother\" in cubist style">
  3. 3In the code below, what is the purpose of the id attribute?
    <p id="warning">Be careful when installing this product.</p>
    1. AIt establishes that id is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.
    2. BIt establishes that id is a unique identifier in the document, used for styling CSS and with Javascript code.
    3. CIt establishes that id may be used for styling CSS several times per page.
    4. DIt establishes that id is a unique identifier in the website, used for styling CSS, scripting, and linking within a webpage.
  4. 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."
    1. 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>
    2. 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>
    3. C<p>
      On July 21, 1969, Neil Armstrong said, <q>One small step for man, one giant leap for mankind.</q>
      </p>
    4. 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>
  5. 5What should fill the blank in this HTML code?
    <a href="https://es.yahoo.com/" hreflang="____" target="_blank">Visita Yahoo</a>
    1. Aes
    2. Bes-spanish
    3. Ces-es
    4. Dspanish
  6. 6Review the text in the red box in the image shown. What is the best way to code this in HTML?Image for question 6
    1. Aordered list
    2. Bunordered list inside a nav element
    3. Cordered list inside a nav element
    4. Dunordered list
  7. 7What is the best way to code three choices within a form so that the user can select only one item?
    1. 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>
    2. 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>
    3. 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>
    4. 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>
  8. 8How do you confirm that a document is written in HTML5?
    1. AThe server wraps the webpage in an HTML5 wrapper.
    2. BUse the <!DOCTYPE html> declaration that starts the document.
    3. CThe browser receives encoding from the server to display the document with HTML5.
    4. DIt is enclosed in a <html> tag.
  9. 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>
    1. AIt displays image1.jpg at 1000px and higher, image2.jpg at 750-999px, and image3.jpg at 749px and lower.
    2. 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.
    3. 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.
    4. DIt displays image1.jpg, image2.jpg and image3.jpg at 1000px and higher.
  10. 10What code will produce this table?Image for question 10
    1. 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>
    2. 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>
    3. 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>
    4. 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>

Information

Description
Linkedin Html skill assessments quizzes Quiz on Quizz 2 15-30, created by Nouri Atef on 10/06/2022.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?