Fiverr Skill Test HTML5
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 Skill Test HTML5 – 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?
- Black
- White
- Transparent
- Gray
3. Which of the following is NOT a valid attribute for the element in HTML 5.0?
- hreflang
- rel
- http-equiv
- media
04.Which of the following HTML5 elements is used to embed Java applets into your HTML 5.0 web page?
- <applet>
- <object>
- <source>
- <progress>
05. How does a button created by the tag differ from the one created by an tag?
- An input tag button can be a reset button too.
- A button tag button can be a reset button too.
- An input tag button can include images as well.
- 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?
- onload
- onsubmit
- onunload
- onreset
07.How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application?
- window.top
- window.parent
- window.frameElement
- 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?
- col
- colgroup
- rowspan
- row
10.Which of the following video file formats are currently supported by the <video> element of HTML 5.0?
- CCTV
- MPEG 4
- Ogg
- 3GPP
Fiverr Skill Test HTML5
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?
- The name of the input tag must be the same for all the radio buttons.
- The value of the input tag must be the same for all the radio buttons.
- The display text of the input tag must be the same for all the radio buttons.
- 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>
- tnemucod ruoy ot nettirw eb dluohs taht txet emos si ereH
- Here is some text that should be written to your document.
- Here is some text that should be written to your document.
- 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.
- <body backcolor=”Yellow”>
- <body background=”Yellow”>
- <body bgcolor=”Yellow”>
- <body color=”Yellow”>
14.Which of the following is an INVALID value for the type attribute of command tag?
- checkbox
- radio
- command
- 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>
- I use
MACMicrosoft! - I use MAC Microsoft!
- I use MAC Microsoft!
- I use MAC Microsoft!
17.Which of the following is the correct syntax to define a charset in the HTML 5 <meta> element?
- <meta http-equiv=”content-type” content=”text/html; charset=ISO-8859-1″>
- <meta charset=”ISO-8859-1″>
- Neither a nor b
18.Which of the following is NOT a supported attribute of the <ol> element in HTML 5.0?
- type
- reversed
- start
- compact
19.Which of the following is a valid attribute for the <colgroup> element in an HTML 5.0 document?
- char
- span
- align
- width
20.Which <body> tag event is fired when the user leaves the document?
- onunload
- onundo
- onredo
- onerror
- 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 - A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?
<emp>
<code>
<dfn>
<cite>
- 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
- 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 - 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
Fiverr Skill Test HTML5
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.
- 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. - 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. - Which of the following represents INVALID syntax for defining an attribute value in an HTML 5.0 document?
All of the above. - 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. - 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)
- Which of the following tags would assist in creating named groups within a select list?
opt group optgroup
selectgroup - 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
- Which HTML 5.0 element will you use to group the related options in a drop-down list?
optgroup option menu var
nav
- 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.
- 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.
- 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 - Which event is fired when an element loses its focus in HTML 5.0 document? onfocus onload onblur
onselect - 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.
- 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