Upwork Html Skill Test 2018 Version

How many input elements can get automatic focus after page load?
Can not be done without JavaScript
>>>>>>>>>>>  1
0
As many as needed

Question 2 of 50
Which of the following is not a valid attribute for the audio element in HTML5?
preload
loop
>>>>>>>>>>>  stopped
muted

Question 3 of 50
Which HTML element is used to make a dropdown selection with options divided to sections?
option
section
optionSection
>>>>>>>>>>>  optgroup

Question 4 of 50
Which method is used to fetch the current geographic location of the user and update it as the user moves?
>>>>>>>>>>>  getCurrentPosition()
watchPosition()
getContinuousPosition()
watchContinuousPosition()

Question 5 of 50
Select all the valid attributes of an audio element. (choose all that apply)
Note: There may be more than one right answer.
>>>>>>>>>>>  autoplay
playback
>>>>>>>>>>>  controls
>>>>>>>>>>>  src
repeat
All are correct

Question 6 of 50
Which of these elements are deprecated in HTML5?
Note: There may be more than one right answer.
>>>>>>>>>>>  <center>
>>>>>>>>>>>  <font>
<iframe>
<tfoot>

Question 7 of 50
Which of the following is not a core method of WebSQL Database API?
openDatabase
transaction
executeSql
>>>>>>>>>>>  connect

Question 8 of 50
Which method is used to check if the browser can play the specified audio/video type?
checkType
>>>>>>>>>>>  canPlayType
typeSupport
mediaPlayType

Question 9 of 50
Which attribute specifies whether or not a user is allowed to drag an element?
>>>>>>>>>>>  draggable
context
content
drag

Question 10 of 50
What is used to continuously push events from the web server to the client’s browser?
>>>>>>>>>>>  Server Sent Events
Web Workers
AJAX
Push Notifications

Question 11 of 50
Which of the following video formats is not supported by the video tag?
MP4
WebM
Ogg
>>>>>>>>>>>  Mov

Question 12 of 50
Select the valid content sectioning elements: (choose all that apply)
Note: There may be more than one right answer.
li
>>>>>>>>>>>  article
>>>>>>>>>>>  footer
div

navigation
footer
>>>>>>>>>>>  nav
seter

Question 13 of 50
Which of the following HTML element is used to create vector graphics?
<div />
<canvas />
>>>>>>>>>>>  <svg />
Other
<vector />

Question 14 of 50
The HTML5 element used to draw a graphics via scripting?
mark
>>>>>>>>>>>  Canvas
figcaption

Question 15 of 50
What is the correct HTML element to define important text?
>>>>>>>>>>>  <strong>
<imp>
<i>
<important>

Question 16 of 50
Which method is used to finish a launched worker?
endWorker
end
>>>>>>>>>>>  terminate
finish

Question 17 of 50
Which value of Socket.readyState indicates that the connection is going through the closing handshake?
0
1
>>>>>>>>>>>  2
3

Question 18 of 50
What was the previous version of HTML, prior to HTML5?
>>>>>>>>>>>  HTML 4.01
HTML 4.9
HTML 4.09
HTML 4

Question 19 of 50
Which one of the following is not a valid input control in HTML5?
range
url
>>>>>>>>>>>  address
number

Question 20 of 50
Custom data attributes (data-*) are very useful for storing data private to a page or application. Are there any naming conventions for custom data attributes?

Custom data attributes can be named like variables in JavaScript.

>>>>>>>>>>>  A custom data attribute’s name has to start with the string “data-”, followed by at least one character, it also has to be XML-compatible and contain no uppercase ASCII letters.

The first character of the custom data attribute’s name must not be a number and the name also has to contain the string “data” somewhere.

Question 4 of 50
Select correctly written HTML elements.(choose all that apply)
Note: There may be more than one right answer.
>>>>>>>>>>>  <input type=“submit” value=“Submit”>
<input type=submit value=Submit disabled=“false”>
<input type=submit value=‘Submit’ disabled>
<input type=submit value=Submit autofocus=“autofocus”>

Question 22 of 50
What is the role of the <wbr> element in HTML5?
Defines a possible line-break.
Defines the main content of a document.
Defines an important text.
>>>>>>>>>>>  Defines a wide `br` tag.

Question 23 of 50
Which of the following are important attributes that can be used with <embed> tag? (choose all that apply)
Note: There may be more than one right answer.
hide
>>>>>>>>>>>  autoplay
align
name
loop

Question 24 of 50
How can you enable grammar checking for the text input?
Add attribute check with value “yes”
Add attribute spelling with value “check”
Add attribute spelling with value “dont-skip”
>>>>>>>>>>>  Add attribute spellcheck

Question 26 of 50
How do you make the content inside an element editable?
>>>>>>>>>>>  Setting the attribute contenteditable = “true”
Setting the attribute editable = “true”
Setting the attribute content = “editable”
The content inside all the elements is editable by default in HTML5.

Question 27 of 50
Which of the following attribute triggers event when an element gets user input?
>>>>>>>>>>>  oninput
ondata
onput
onhaschange

Question 28 of 50
Which attribute specifies that the image is part of a server-side image-map?
IMAP
SMAP

>>>>>>>>>>>  ISMAP
imageMap

Question 29 of 50
Which of the following are valid input types? (Check all that apply)
Note: There may be more than one right answer.
>>>>>>>>>>>  button
>>>>>>>>>>>  date
>>>>>>>>>>>  email
address
>>>>>>>>>>>  range

Question 18 of 50
Which attributes are supported by the HTML <object> tag? (Check all that apply)
Note: There may be more than one right answer.
>>>>>>>>>>>  usemap
>>>>>>>>>>>  decarle
codetypes
>>>>>>>>>>>  classid
>>>>>>>>>>>  archive

Question 19 of 50
Which of these statements are considered as best practices? (Choose all that apply)
Note: There may be more than one right answer.
>>>>>>>>>>>  Place all CSS/JavaScript files within the <head> element
Place all CSS/JavaScript files at the bottom of <body> element

>>>>>>>>>>>  Place CSS files within the <head> element

>>>>>>>>>>>  Place JavaScript files at the bottom of <body> element

Question 28 of 50
Which HTML element could be used to display an ordered list?
>>>>>>>>>>>  ol
ul
list
ordered

Question 31 of 50
Which of the following is/are valid HTML5 attributes? (Check all that apply)
Note: There may be more than one right answer.
webgl
>>>>>>>>>>>  spellcheck
manualfocus
>>>>>>>>>>>  contextmenu

Question 33 of 50
Which of these values are allowed for attribute “method” for form element?
Note: There may be more than one right answer.
>>>>>>>>>>>  get
>>>>>>>>>>>  post
patch
delete

Question 35 of 50
How many h1 elements are recommended on a single page?
Unlimited.
>>>>>>>>>>>  One per section (HTML5) or one per document (HTML4).
Depends on the size of the page.

Question 36 of 50
Which of the following attribute triggers an abort event?
offline
abort
>>>>>>>>>>>  onabort
onbeforeonload

Question 37 of 50
Which of the following are valid for the template element in HTML5? (Choose all that apply)
Note: There may be more than one right answer.

>>>>>>>>>>>  Templates are rendered inside the document, so you can easily access them via JavaScript (e.g. document.getElementById() or querySelector()).

>>>>>>>>>>>  Templates provide a method for declaring inert DOM subtrees and manipulating them to instantiate document fragments with identical contents.

Any content within a template won’t have side effects. Scripts don’t run, images don’t load, audio doesn’t play, etc.

Templates can be placed anywhere inside of <head>, <body>, or <frameset>

Question 38 of 50
Which of the following input type is used to create a file upload control?
input
upload
>>>>>>>>>>>  file
browse

Question 39 of 50
What is the correct HTML for creating a hyperlink?
<a>http://www.website.com</a>
>>>>>>>>>>>  <a href=”http://www.website.com”>Website.com</a>
<a name=”http://www.website.com”>Website.com</a>
<a url=”http://www.website.com”>Website.com</a>

Question 40 of 50
Which of the following is an empty element?
>>>>>>>>>>>  <br/>
<p> </p>
</img>
</p>

the imagedata object
>>>>>>>>>>>  width
>>>>>>>>>>>  height
>>>>>>>>>>>  data

>>>>>>>>>>>  button
>>>>>>>>>>>  data
>>>>>>>>>>>  email
address
>>>>>>>>>>>  range

 

2 comments on “Upwork Html Skill Test 2018 Version

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*
*