FINAL PAPER SOLVED QUESTIONS ANSWER
KEY APLUS
◉ Which language provides dynamic content for a web page across
all browsers?
Answer: JavaScript
◉ Which type of content should use an <aside>?
Answer: News feeds
◉ Which element should a developer use for a bulleted list?
Answer: <ul>
◉ What does an HTML5 code validator confirm about code?
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?
Answer: loop
◉ Which attribute is used to display an image inside a <video>
element before the video starts playing?
Answer: poster
◉ Which style sheet code defines the 18-pixel Arial font for all level
two headers?
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?
Answer: Text
◉ What should be added first when embedding CSS in a single web
page as an internal style sheet?
Answer: A <style> element to the <head> section
◉ What is the first character a developer should use for an id
selector in CSS?
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?
Answer: Fixed
◉ A developer needs two pixels of space on the left side of content
relative to the border.
Which CSS property should this developer use?
Answer: padding-left: 2px;