Assess your experience with HTML

I estimate it would take you 53 steps in 13 minutes to Assess your experience with HTML.
Which would create a button that empties the form for the user to begin again?
  • <reset />
  • <submit for="clear" />
  • <submit> reset </submit>
  • <input type="clear" />
  • <input type="reset"/>
What is the correct HTML5 element for independent and self-contained content?
  • <nav>
  • <aside>
  • <menu>
  • <article>
Which function of the navigator.geolocation object does a developer use to request information about a user's location?
  • getMapPosition()
  • getLocalPosition()
  • getUserPosition()
  • getCurrentPosition()
Which attribute would you use to increase or decrease the interval at which the input changes in the following input element:
<input type="number" />
  • decrease
  • value
  • increase
  • step
What happens first when you attempt to detect the user's location for the first time?
  • An approval dialog is presented to the user
  • Empty location data is returned first
  • The location is determined via GPS
  • The location is calculated using the browser's best guess
The placeholder attribute can be used in each of these HTML5 form elements EXCEPT:
  • email
  • radio
  • tel
  • url
Which HTML special character entity adds an additional space within a block of text?
  • <space>
  • &space;
  • <empty>
  • &nbsp;
What is a Web Worker?
  • A script that captures a user's keystrokes
  • Script running in a background thread in the browser
  • An API for working with offline applications
  • A browser plugin required to store information in the browser
Which element is not valid to use in an HTML5 document?
  • <frame>
  • <em>
  • <img>
Why should the scope attribute be used in a <th> element?
1. It allows you to set a caption for the table.

2. It allows the table code to load faster.

3. It is a necessary part of the table construction syntax.

4. It allows screen readers and assistive devices to recognize the header as the start of a table column.
  • 1.
  • 2.
  • 3.
  • 4.
Which of the following is used both to position an image on the canvas and to set that image's width and height?
  • writeImage(image,x,y);
  • drawImg(image,x,y);
  • context.drawImage(img,x,y,width,height);
  • writeImg(image,x,y);
Which element is used to define bold text without added semantic importance?
  • <bold_text>
  • <strong>
  • <bold>
💡FUN FACT 💡The first publicly available description of HTML was a document called "HTML Tags", first mentioned on the Internet by Tim Berners-Lee in late 1991
What does Web Storage allow a developer to do?
  • Store named key/value pairs locally via the browser
  • Save text files to a server
  • Save images to a hard drive
  • Save a screen capture from a Webcam
When retrieving data from an object store, you must attempt to locate a record via:
  • an index
  • an integer value
  • a composite key
  • the LIKE operator
Which form attribute specifies whether the browser should automatically complete values, based on values that the user has entered before?
  • autofocus
  • form overrides
  • formaction
  • autocomplete
Which element specifies the caption inside a figure element?
  • <figure>
  • <figcaption>
  • <section>
  • <command>
What happens when the browser processes the autofocus attribute in the following code?
<input type="text" name="user-name" autofocus="autofocus" />
1. The browser automatically creates a JavaScript object that references the HTML element.

2. A text field is created upon the form being loaded.

3. The browser will load a form called "text".

4. The browser automatically gives the user-name field focus when the page loads.
  • 1.
  • 2.
  • 3.
  • 4.
How long is data stored with HTML5 sessionStorage?
  • Forever
  • Until the computer is shut down
  • For the duration of the browser session
  • Until cookies expire on the computer
What is the purpose of <em> tags?
  • a body element
  • bold text
  • a table caption
  • emphasized text
  • external interactive content
Which of the following input control represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601 in Web Form 2.0?
  • week
  • time
  • number
  • range
Which of the following attribute triggers event when an element is being dragged over a valid drop target?
  • ondragleave
  • ondrag
  • ondragover
  • ondragstart
Which of the following attribute triggers event before the document loads?
  • offline
  • onabort
  • onload
  • onbeforeonload
Which of the following is true about Local Storage in HTML5?
1. HTML5 introduces the localStorage attribute which would be used to access a page's local storage area with no time limit.

2. This local storage will be available whenever you would use that page.

3. Both of the above.

4. None of the above.
  • 1.
  • 2.
  • 3.
  • 4.
Which of the following attribute triggers event after the document is printed?
  • offlineprint
  • onprint
  • onafterprint
  • onbeforeprint
Which of the following input control represents a date (year, month, day) encoded according to ISO 8601 in Web Form 2.0?
  • datetime
  • datetime-local
  • date
  • month
87% of all 333 users completed this intention.
Get Started   

Or consider 101 other intentions.