SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Html5 Basics
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. A ____ is a location on a page that can be linked to
document.write()
placeholder
title
browsers
2. If an <a> element links to a media file - the browser tries to display or play it by using the right media player. To help the browser find the right one - you can use the type attribute to specify a ____ type
bulleted
MIME
space
png
3. 'http://www.yahoo.com/movies.html' is an example of a _____ path
Theora
<dt>
absolute
www.html5test.com
4. The attribute used to help a screen reader pronounce words correctly
QuickTime
lang
protocol
WebKit
5. True or false: Heading tags are the preferred way to size text.
false
Boolean
entities
nest
6. Chrome - Safari - Firefox and Internet Explorer are examples of _________
charset
specific tags
browsers
elements
7. Character entities begin with a ampersand (&) and end with a ______
inline
false
elements
semicolon(;)
8. Identify the error: <p>We <i>love the web</p></i> __________: the <i> pair must be fully enclosed in the <p> pair
www.html5test.com
Incorrect nesting
content
title
9. For browsers that don't support video or audio elements - you can ____ an object element within the video or audio element to play a flash file
root
codecs
nest
<link rel="stylesheet" href="mystyles.css">
10. For images with useful content - always code a(n) _____ attribute that describes the image
player
alt
span
jQuery
11. 'images/logo.gif' is an example of a ____ path
XHTML
Aptana
empty tags
document-relative
12. In addition to the required 'charset' metadata attribute - _____ and keywords attributes should be provided as well for SEO
declaration
unordered
description
attributes
13. A MIME type describes the contents of a media file and helps a browser determine what to use to open it
player
browsers
whitespace
lists
14. MIME type for a PDF
URL
application/pdf
FTP (File Transfer Protocol)
Markup
15. 'http://' is the _______ of a URL
protocol
../
<a>
Closing tag
16. id and class names are __________
FTP (File Transfer Protocol)
case sensitive
placeholders
Closing tag
17. Three elements used to make descriptions lists: <dl> - _____ - <dd>
root
inline
document.write()
<dt>
18. Ten inline elements for identifying content abbr - cite - code - dfn - em - kbd - q - ____ - strong - var
samp
placeholder
pipe
double quotes
19. '/login.html' is an example of a ____ path
elements
root-relative
default
document.write()
20. A free text editor that can be used to edit HTML or CSS code
Aptana
UTF-8
elements
document tree
21. description terms (<dt>) can only contain text and ______ elements
inline
entities
aac
unordered
22. An HTML document consists of two parts: DOCTYPE ______ and document tree
meta
<p><a href="#top">Return to top</a></p>
Accessibility
declaration
23. Two common examples of ________: <br> and <img>
case sensitive
JavaScript APIs
empty tags
Boolean
24. 3 core technologies in HTML5 ________ - JavaScript APIs - and CSS
video/mpeg
semicolon(;)
<script src="myscripts.js"></script>
Markup
25. 'codec' stands for ______
COder/DECoder
space
<p><a href="#top">Return to top</a></p>
DOM
26. Tabs & line returns and extra spaces are ____
Accessibility
Markup
whitespace
document tree
27. Command to attach an external style sheet (called 'mystyles.css' to a web page
article
whitespace
Closing tag
<link rel="stylesheet" href="mystyles.css">
28. Three tags for special types of text: pre - ______ - address
inline
natively
blockquote
hgroup
29. Extension used for a custom icon
ico
URL
alt
<!DOCTYPE html><html></html>
30. A free text editor that can be used to edit HTML or CSS code
description
WebKit
<script src="myscripts.js"></script>
Aptana
31. Sockets - Canvas - Video - Web Workers and Local Storage are examples of ___________ ______
UTF-8
double quotes
deprecated
JavaScript APIs
32. Three tags for special types of text: pre - ______ - address
title
blockquote
elements
codecs
33. ________ structure <!-- blah blah blah -->
whitespace
charset
Comment
aac
34. An HTML document consists of two parts: DOCTYPE ______ and document tree
<script src="myscripts.js"></script>
Closing tag
meta
declaration
35. You should use ____ to control the space between block elements
document-relative
CSS
Markup
png
36. True or false: Heading tags are the preferred way to size text.
Markup
charset
JavaScript
false
37. <input type="checkbox" name="mailList" checked> In this element 'checked' is a _____ attribute
Boolean
superset
title
Incorrect nesting
38. A very important element in the head of a page that provides search engine information
<meta charset="UTF-8">
<!DOCTYPE html><html></html>
title
metadata
39. Tag for an item within a list (either ordered or unordered)
WebKit
absolute
<li>
Theora
40. Identify the error: <p>We <i>love the web</p></i> __________: the <i> pair must be fully enclosed in the <p> pair
Incorrect nesting
document tree
Boolean
aac
41. For images that are used solely for decoration - use this attribute - which is known as a ______ attribute
document type
alt="" empty (no space)
png
favicon
42. Common use of a link element that provides a 'custom' feel to your web page
player
empty tag
document tree
favicon
43. MIME type for a MPG/MPEG
video/mpeg
entities
article
<ol>
44. Write a hyperlink - that jumps to a placeholder with an id of 'top' on the home page of the site (assume you are not on that page now). The link should read "Return to Home"....
document.write()
root-relative
<a href="index.html#top">Return to Home</a>
whitespace
45. True or false: charset metadata is required for HTML5 validation
JavaScript
samp
lang
true
46. MIME type for a MP3
WebKit
audio/mpeg or audio/x-mpeg
true
WebKit
47. Easiest way to add audio to an HTML5 page
<audio src="fileName.mp3"></audio>
double quotes
title
../
48. HTML code elements should be in lower case except for the ____________ which is in upper case
document type
superset
Internet Explorer (IE)
content
49. Description lists were called _____ lists in HTML4 - but they were renamed because you can code more than one <dd> element for each <dt> element
root-relative
placeholder
definition
Incorrect nesting
50. Six primary HTML5 semantic elements used for structuring a page (and are supported by the modern browsers): header - section - ______ - nav - aside - footer
attributes
article
application/x-shockwave-flash
charset