HTML5 Test | Fiverr HTML5 Test

Fiverr HTML5 Test New 2021

Fiverr HTML 5 Test New 2021
Fiverr HTML5 Test New 2021

HTML5 Test Syllabus

  • Html 5 elements and attributes(html5 test)
  • Html 5 events
  • Html 5 syntax
  • Html 5 web application apis
  • Loading html 5 web pages
  • Html dom

Duration

  • 40 minutes

Questions

  • 40 multiple choice questions.

Instructions

  • Each question has between 2 and 8 options; one or more may be correct.
  • There is no penalty for guessing if you don’t know the answer; therefore, make sure you attempt all of the questions.
  • In order to pass, you will need to answer at least 60% of the questions correctly.
  • The clock timing of your test is located at the top of the test window.
  • This test is best viewed using Internet Explorer version 11.0 or higher or Mozilla Firefox 45.0 or higher or Google Chrome 48 or higher.
  • Questions will be displayed one at a time. A next button is provided at the bottom of the test page for navigating to the next question. Do not press the next button if you have not answered the question.
  • Once you have answered a question, you cannot go back and change your answer.
  • Do not use the shortcut menu options (mouse right-click) or the keyboard for navigating backwards or forwards within the test.
  • There is a 1 day waiting period between test retakes. You can only take a test twice in a three months time window.

Fiverr HTML5 Test Answers  – Get the questions and answers below:

For Test Click Here

01. What is the default background color for the canvas element in HTML 5.0?
  1. Black
  2. White
  3. Transparent
  4. Gray
3. Which of the following is NOT a valid attribute for the element in HTML 5.0?
  1. hreflang
  2. rel
  3. http-equiv
  4. media

04.Which of the following HTML5 elements is used to embed Java applets into your HTML 5.0 web page?

  1. <applet>
  2. <object>
  3. <source>
  4. <progress>

05. How does a button created by the tag differ from the one created by an tag?

  1. An input tag button can be a reset button too.
  2. A button tag button can be a reset button too.
  3. An input tag button can include images as well.
  4. A button tag can include images as well.

06.Which form event is fired on the click of a button using a button tag with its type attributevalue equal to submit?

  1. onload
  2. onsubmit
  3. onunload
  4. onreset

07.How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application?

  1. window.top
  2. window.parent
  3. window.frameElement
  4. None of the above

08.Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?     

  1. col     
  2. colgroup     
  3. rowspan     
  4. row

10.Which of the following video file formats are currently supported by the <video> element of HTML 5.0?

  1. CCTV
  2. MPEG 4
  3. Ogg
  4. 3GPP

11.Which of the following statements is correct if you allow the user to select only one radio button from a group of radio buttons?

  1.  The name of the input tag must be the same for all the radio buttons.     
  2. The value of the input tag must be the same for all the radio buttons.
  3.  The display text of the input tag must be the same for all the radio buttons.     
  4. All the radio buttons must be added to the same group using the <optgroup> tag

12.What will be the result if you use the following code to your HTML 5.0 document? <bdo dir=”rtl”>

Here is some text that should be written to your document.

</bdo>

  1. tnemucod ruoy ot nettirw eb dluohs taht txet emos si ereH
  2. Here is some text that should be written to your document.     
  3. Here is some text that should be written to your document.     
  4. None of the above.

13.Which of the following would give a yellow background to the web page?

Note: The code used in the “correct” answer below was deprecated in HTML 4.01! Use styles instead for new code.

  1. <body backcolor=”Yellow”>
  2. <body background=”Yellow”>
  3.  <body bgcolor=”Yellow”>     
  4. <body color=”Yellow”>

14.Which of the following is an INVALID value for the type attribute of command tag?

  1.      checkbox
  2.      radio
  3.      command
  4.       text

15.You have the following directory structure. webroot->products->ordered->delivered

The products directory has a page called Products.html and the delivered directory has a page called Delivered.html. You want to provide a link to the Products page on Delivered.html. The ideal code should be:

  <a href=”././Products.html”> All Products </a>

   <a href=”../../Products.html”> All Products </a>

  <a href=”…/…/Products.html”> All Products </a>

 <a href=”../Products.html”> All Products </a>     

<a href=”Products.html”> All Products</a>

16.What will be the result if you use the following code to your HTML 5.0 document? <p>I use <del>MAC</del> <ins>Microsoft</ins>!</p>     

  1. I use MAC Microsoft!
  2.      I use MAC Microsoft!
  3.      I use MAC Microsoft!
  4.      I use MAC Microsoft!

17.Which of the following is the correct syntax to define a charset in the HTML 5 <meta> element?

  1.      <meta http-equiv=”content-type” content=”text/html; charset=ISO-8859-1″>
  2.      <meta charset=”ISO-8859-1″>
  3.       Neither a nor b

18.Which of the following is NOT a supported attribute of the <ol> element in HTML 5.0?     

  1. type     
  2. reversed     
  3. start
  4. compact

19.Which of the following is a valid attribute for the <colgroup> element in an HTML 5.0 document?

  1.      char
  2.       span
  3.       align
  4.      width

20.Which <body> tag event is fired when the user leaves the document?

  1.      onunload
  2.       onundo
  3.       onredo
  4.       onerror
  1. Which of the following are INVALID keyword values for http-equiv attribute when used with the element in HTML 5.0?
    content-type
    expires
    set-cookie
    keywords
    refresh author
  2. A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?

     <emp>

     <code>

     <dfn>

     <cite>

  1. Which of the following is NOT a valid value for the type attribute of the element in HTML 5.0?
    url week
    tel radio
    datetime-local
    All of the above are the valid values for element
  1. What is the role of the element in HTML 5.0?
    It is used to define important text.
    It is used to define computer code text.
    It is used to define sample computer code.
    It is used to define a definition term
  2. Which of the following is NOT a valid syntax for the element in HTML 5.0?

<h1 class=”cheader”> This is header 1 </h1 > 

     <h1 align=”center”> This is header 1</h1>

     <h1 onClick=”dothis(‘sc1′)” >This is header </h1>

     <h1 style=”cursor:auto;”>This is header </h1>

27.What will be the return value when using the window.navigator.appName API method in an HTML 5.0 web application?
It will return the version of the browser.
It will return the complete User-Agent header.
It will return the name of the platform.
It will return the name of the browser.

28.Which of the following languages will you use to paint the graphics designed using the HTML 5.0 ?
It is used to define the restrictions to the frame content.
It is used to define the URL of the document that should appear in the iframe.
It is used to specify that an iframe should appear as if it is part of the document the iframe is in.

29.Which of the following statements is correct for a blockquote?

It makes the text a bit bigger for emphasizing.

It defines a section that is quoted from another source It makes the text slightly bolder

30.Which event is fired when the history of the browser window changes?
onpopstate

onstorage

onresize
onhash

change

35.When does the ondragleave mouse event get fired in HTML 5.0?
It gets fired when an element has been dragged to a valid drop target.
It gets fired when an element leaves a valid drop target.
It gets fired at the end of a drag operation.
It gets fired while an element is being dragged.

  1. Which of the following is correct with regard to the oncanplaythrough event fired by media resources in the HTML 5.0 document?
    The script will run when the media has reached the end.
    The script will run when the media is played to the end, without stopping for buffering.
    The script will run when media data is loaded.
    The script will run when the length of the media is changed.
  2. What is the output when you use the HTML 5.0 code snippet shown below?
    It will alert saying “[object HTMLBodyElement]” when the document is loaded.
    It will alert saying “[object Window]” when the document is loaded.
    It will alert saying “[this]” when the document is loaded.
    The alert message is not properly defined in the body element and an error will be generated when the document is loaded.
  3. Which of the following represents INVALID syntax for defining an attribute value in an HTML 5.0 document?
    All of the above.
  4. What is the purpose of the element in HTML 5.0?
    It is used to define the start of a term in a definition list.
    It is used to define attribute values for one or more columns in a table.
    It is used to define the start of a short quotation
    It is used to define what to show browsers that do not support the ruby element.
  5. How will you cancel the timeouts that are set with the setInterval() API method identified by the handlers in HTML 5.0?
    window.clearInterval (handle) window.clearTimeout (handle) window.setInterval (code, timeout)
    window.setTimeout (code, timeout)
  1. Which of the following tags would assist in creating named groups within a select list?
    opt group optgroup
    selectgroup
  2. fully populated form is displayed instead of a blank form. Which of the following HTML 5.0 attributes will you use? accept autofocus autocomplete formtarget
  1. Which HTML 5.0 element will you use to group the related options in a drop-down list?
    optgroup option menu var
    nav
  1. This question is based upon the figure shown below

How will you bind the datalist option (shown below) with an element, whose type attribute is set to url, to get the result shown in the image?
User should define an accept attribute to the input element whose type is url.
User should define multiple attribute to the input element whose type is url.
User should define a list attribute to the input element whose type is url.
User should define a placeholder attribute to the input element whose type is url.

  1. What does the icon attribute of the HTML 5.0 command tag define?
    Click Me!
    It is used to define the URL of an image to display as the command.
    It is used to define the name of the radiogroup this command belongs to.
    It is used to define if the command is checked or not.
    It is used to define if the command is available or not.
  1. A piece of text contains many blank spaces within it. Which of the following tags would be suitable to display the text as it was originally formatted? td p ls
    pre
  2. Which event is fired when an element loses its focus in HTML 5.0 document? onfocus onload onblur
    onselect
  3. What is the purpose of the element in HTML 5.0?
    It is used to define a keyboard text in an HTML 5.0 web page.
    It is used to generate a public-private key pair in an HTML 5.0 web page.
    It is used to define a definition term in an HTML 5.0 web page. It is used to define a variable in an HTML 5.0 web page.
  1. While rendering your HTML 5.0 web page, which of the following element files will get skipped by a compliant user agent if you include the link elements shown below in your document?

<link rel=”stylesheet” href=”A” type=”text/plain”>

<link rel=”stylesheet” href=”B” type=”text/css”>
A link element whose href is “B”
A link element whose href is “A”
None of the above

More test:

WordPress Skill test

Upwork Readiness Test

Leave a Reply