MOCK PAPER COMPREHENSIVE REVIEW
NOTES ANALYTICAL SUMMARY
◉ Which language provides dynamic content for a web page across
all browsers?
A) XML
B) JavaScript
C) HTML5
D) XHTML.
Answer: JavaScript
◉ Which type of content should use an <aside>?
A) News feeds
B) Site copyrights
C) Headlines
D) Navigation menus.
Answer: News feeds
◉ Which element should a developer use for a bulleted list?
A) <ul>
,B) <ol>
C) <dl>
D) <p>.
Answer: <ul>
◉ What does an HTML5 code validator confirm about code?
A) It contains no warnings.
B) It works in every browser.
C) It complies with a standard.
D) It follows best practices..
Answer: It complies with a standard.
◉ A web developer needs to play an audio file endlessly. The
developer writes the following HTML code:
<audio>
<source src = "media/audio.ogg" type="audio/ogg" />
</audio>
Which attribute should this developer use?
A) controls
B) autoplay
C) loop
D) src.
,Answer: loop
◉ Which attribute is used to display an image inside a <video>
element before the video starts playing?
A) src
B) img
C) type
D) poster.
Answer: poster
◉ Which style sheet code defines the 18-pixel Arial font for all level
two headers?
A) h2
{
font-family-: Arial; font-weight: 18px; }
B) .h2
{
font-name: Arial; font-size: 18px; }
C) h2
{
font-family: Arial; font-size: 18px; }
D) .h2
, {
font-name: Arial; font-weight:18px; }.
Answer: h2
{
font-family: Arial; font-size: 18px; }
◉ Given the following CSS code:
body {
color : white;
}
Which part of an element is affected by the color property?
A) Text
B) Border
C) Background
D) Shadow.
Answer: Text
◉ What should be added first when embedding CSS in a single web
page as an internal style sheet?
A) A <style> element to the <head> section
B) A <head> element to the <style> section
C) Declarations within a <style> </style> block