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. Tabs & line returns and extra spaces are ____
<script src="myscripts.js"></script>
Cross-browser compatibility
document type
whitespace
2. It's a best practice to code a series of links within a _______ list
class
unordered
document type
Comment
3. Useful site to check a browser's current ratings
bulleted
blockquote
www.html5test.com
stretch
4. You should use ____ to control the space between block elements
meta
document type
root
CSS
5. The height and width attributes may be used to '________' an image to a given dimension.
natively
<!DOCTYPE html><html></html>
document-relative
stretch
6. A MIME type describes the contents of a media file and helps a browser determine what to use to open it
MIME (Multipurpose Internet Mail Extensions)
document tree
player
charset
7. Fancy word to describe a code feature that has been phased out or shelved
deprecated
aac
test
Accessibility
8. Three common attributes for the meta tag: _____ - name and content
charset
FTP (File Transfer Protocol)
alt
COder/DECoder
9. MIME type for a WAV
empty tags
double quotes
root
audio/x-wave
10. 'images/logo.gif' is an example of a ____ path
lists
meta
document-relative
Markup
11. The 5 top browers in order from best to worst in terms of their HTML5 ratings: Chrome - Opera - Firefox - Safari - _________
Internet Explorer (IE)
protocol
<a href="index.html#top">Return to Home</a>
Closing tag
12. HTML code elements should be in lower case except for the ____________ which is in upper case
mp3
document type
alt
<ul>
13. One of the most widely-used media types for audio
empty tags
div
blockquote
mp3
14. Command to establish the characters that compose a page
www.html5test.com
<meta charset="UTF-8">
<!DOCTYPE html><html></html>
double quotes
15. To see if an HTML file passes a standard of compliance ________ an HTML file
../
Accessibility
validate
JavaScript
16. Symbol often used to delimit phrases within a title tag's content
WebKit
charset
|
jQuery
17. In the command: <li>bag of apples</li> the phrase 'bag of apples' is called the _____ of the element
<script src="myscripts.js"></script>
aac
<!DOCTYPE html><html></html>
content
18. Command to attach an external style sheet (called 'mystyles.css' to a web page
Description lists
false
<link rel="stylesheet" href="mystyles.css">
meta
19. Sockets - Canvas - Video - Web Workers and Local Storage are examples of ___________ ______
document type
bulleted
lists
JavaScript APIs
20. Chrome - Safari and the Android and iPhone mobile browsers are based on_______
document.write()
Description lists
WebKit
audio/x-wave
21. Essential coding language in HTML5
JavaScript
<img>
Miro Converter
MIME (Multipurpose Internet Mail Extensions)
22. Approximate max number of characters in a title element
alt
<video src="fileName.mp4"></video>
65
video/mpeg
23. MIME type for a MPG/MPEG
Incorrect nesting
video/mpeg
<link rel="stylesheet" href="mystyles.css">
specific tags
24. To deploy (publish) a website to the Internet you transfer your files with a(n) ____ program
FTP (File Transfer Protocol)
www.html5test.com
<embed>
jpeg (jpg)
25. True or false: charset metadata is required for HTML5 validation
singleton
<link rel="stylesheet" href="mystyles.css">
Incorrect nesting
true
26. An open source browser engine
bulleted
audio/mpeg or audio/x-mpeg
WebKit
Theora
27. Tabs & line returns and extra spaces are ____
JavaScript APIs
<link rel="stylesheet" href="mystyles.css">
whitespace
declaration
28. New _____ in HTML add semantics and structure
elements
article
true
placeholder
29. Write a hyperlink - nested in a paragraph - that jumps to a placeholder with an id of 'top' on the same page as the link. The link should read "Return to top"....
XHTML
<p><a href="#top">Return to top</a></p>
aac
root
30. Syntax for html container
JavaScript
title
<li>
<!DOCTYPE html><html></html>
31. Two common examples of ________: <br> and <img>
empty tags
Boolean
root
Markup
32. Four core HTML attributes: id - _____ - title - lang
Cross-browser compatibility
<ol>
protocol
class
33. To see if an HTML file passes a standard of compliance ________ an HTML file
JavaScript
JavaScript
alt="" empty (no space)
validate
34. '/login.html' is an example of a ____ path
whitespace
root-relative
browsers
double quotes
35. Windows' plug-in for video
inline
title
browsers
Media Player
36. Prefix on a path that navigates up from a child to a parent folder
../
elements
deprecated
XHTML
37. Discover/correct problems in an HTML file: _____ an HTML file
Boolean
<meta charset="UTF-8">
debug
default
38. Five inline elements for formatting text: i - b - ____ - sup - br
title
article
sub
alt
39. Identify the error: <p>What's wrong now?<p> ________ does not have a '/'
Closing tag
validate
deprecated
false
40. Two common examples of ________: <br> and <img>
double quotes
charset
Cross-browser compatibility
empty tags
41. MIME type for a SWF
superset
application/x-shockwave-flash
<a>
class
42. ________ structure <!-- blah blah blah -->
FTP (File Transfer Protocol)
definition
Comment
article
43. Browser's internal representation of a web page
JavaScript
DOM
rendering
<!DOCTYPE html><html></html>
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"....
<meta charset="UTF-8">
<li>
www.html5test.com
<a href="index.html#top">Return to Home</a>
45. <a> is an example of a(n) _______ element
inline
singleton
meta
WebKit
46. HTML tag to code a hyperlink
<p><a href="#top">Return to top</a></p>
lang
<a>
jpeg (jpg)
47. Attribute values are delimited by ______
double quotes
codecs
alt
<video src="fileName.mp4"></video>
48. A very important element in the head of a page that provides search engine information
title
QuickTime
empty tag
codecs
49. An HTML document consists of two parts: DOCTYPE ______ and document tree
lang
MIME (Multipurpose Internet Mail Extensions)
article
declaration
50. One of the most common media types and is also the encoding standard for audio; currently used on all Apple products
aac
title
UTF-8
article