ACTUAL EXAM 2026 QUESTIONS WITH
ANSWERS GRADED A+
◉ What three technologies used toegther provide Web pages that easily
adapt to smartphones, tablets, gaming devices and smart TVs, as well as
traditional computers? Answer: HTML5, Cascading Style Sheets (CSS)
and JavaScript
◉ Many markup code validators exist, but the most authoritative is the
W3C Markup Validation Service. How does the W3C Markup Validation
Service determine to what HTML standard to validate your code?
Selena is embedding a video in her HTML5 page. Which attribute
should she use to identify the location and file name of the video?
Answer: The src attribute
◉ You are using the <video> element to embed a video in your HTML5
page. Which attribute should you use if you want to identify an image to
be displayed until the Play button is clicked or while the video is
downloading? Answer: The poster attribute
◉ You want to create Web pages that can easily adapt to serve
multimedia content to smartphones, tablets, gaming devices and smart
,TVs, as well as traditional desktop computers, without the use of plug-
ins. What would be best suited for this purpose? Answer: HTML5 APIs
◉ Stanley is the senior developer of apps for an organization that is
considered to be at the cutting edge of mobile-device technology. What
should Stanley use to create apps for mobile devices? Answer: HTML5
APIs
◉ You are a novice Web developer, and your mentor has suggested that
you familiarize yourself with HTML5 and Cascading Style Sheets
(CSS). Being somewhat unfamiliar with CSS, you discover that it is:.
Answer: a Web design technology that enables you to determine how the
HTML elements in your Web pages will display.
◉ What are two benefits of CSS? Answer: CSS provides a consistent
look and feel to site pages, and simplifies change management issues.
◉ Consider the following CSS rule:
body {color: #008080:}
Which is the "declaration" portion of this rule? Answer: The portion
inside the curly braces
◉ Consider the following CSS rule:
body {color: #008080:}
, Which is the "property" portion of this rule? Answer: The portion that
reads "color"
◉ Using a linked style sheet, you have modified the look and feel of an
HTML page. Because of the concept of inheritance, you notice that:.
Answer: the rules you applied remain in force unless explicitly overruled
using other styles.
◉ How can you override a particular style in an HTML element if the
HTML document is linked to a style sheet? Answer: By applying an
inline CSS style attribute to the element whose style you want to
override
◉ Consider the following code:
CSS file:
.right {
text-align: right;
}
HTML file:
<h3 class="right">Right-aligned heading level three</h3>
<p class="right">Right-aligned paragraph</p>
This code shows an example of what? Answer: The class selector