Answers Verified By Experts
What is a characteristic of a web page with responsive design?
A) The ability to react to user events
B) A measure of the page load speed
C) The ability to resize to the screen size
D) A measure of the page close speed - ANSWER-The ability to resize to the screen
size
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
D) Declarations within a <head> </head> block - ANSWER-A <style> element to the
<head> section
What is the first character a developer should use for an id selector in CSS?
A) #
B) :
C) ;
D) . - ANSWER-#
A developer has an image that needs to remain in the same place when the page is
scrolled. Which CSS positioning scheme should this developer use?
A) Static