BANK 2025/2026 | ACCURATE REAL EXAM TESTING VERSIONS AND A
STUDY GUIDE | EXPERT VERIFIED FOR GUARANTEED PASS
Question 1
Which three technologies are known as the web development trifecta?
A) HTML, XML, CSS
B) HTML5, CSS, JavaScript
C) PHP, HTML, CSS
D) JavaScript, jQuery, JSON
Correct Answer: B) HTML5, CSS, JavaScript
Rationale: HTML5 provides the structure, CSS provides the styling and presentation, and
JavaScript provides the interactivity, forming the foundational trio of modern web
development.
Question 2
Which HTML5 tag defines the main content of a document and should not be a child of elements
like header, nav, or footer?
A) <section>
B) <body>
C) <main>
D) <article>
Correct Answer: C) <main>
Rationale: The <main> element is a semantic tag that designates the dominant content of
the <body> of a document. According to the specification, it must not be a descendant of
an <article>, <aside>, <footer>, <header>, or <nav> element.
Question 3
Which HTML5 element is used to specify multiple media resources for media elements, such
as <video> and <audio>?
A) <track>
B) <source>
C) <media>
D) <embed>
,Correct Answer: B) <source>
Rationale: The <source> element allows you to specify multiple video or audio files in
different formats (e.g., .mp4, .webm, .ogg) to ensure compatibility across various browsers.
Question 4
Which version of Internet Explorer was the first to provide support for HTML5 elements?
A) IE7
B) IE8
C) IE9
D) IE10
Correct Answer: C) IE9
Rationale: Internet Explorer 9 was a significant update that introduced support for many
HTML5 and CSS3 features, although full support was still a work in progress.
Question 5
To support HTML5 semantic elements in pre-IE9 browsers, what two steps are necessary?
A) Add them via a <meta> tag, style them as inline via CSS
B) Add them via JavaScript, make them block-level elements via CSS
C) Use a conditional comment, style them with display: none
D) It is not possible to support them in older browsers.
Correct Answer: B) Add them via JavaScript, make them block-level elements via CSS
Rationale: Older browsers don't recognize unknown elements. They can be "taught" to
recognize them by creating the element with JavaScript
(e.g., document.createElement('main')). Then, CSS must be used to give them a display:
block style, as they default to display: inline.
Question 6
In a CSS rule like h1 { color: blue; }, what is the term for the h1 part?
A) Declaration
B) Property
C) Value
D) Selector
Correct Answer: D) Selector
, Rationale: The selector is the part of a CSS rule that identifies which HTML element(s) the
rule should be applied to.
Question 7
In a CSS rule like p { font-size: 16px; }, what is the term for the font-size: 16px; part?
A) Selector
B) Rule
C) Declaration
D) Property
Correct Answer: C) Declaration
Rationale: A declaration is a property/value pair (e.g., font-size: 16px). A rule consists of a
selector and one or more declarations.
Question 8
In CSS, the concept of styles from a parent element being passed down to its child elements is
known as:
A) Specificity
B) Inheritance
C) Cascading
D) Document flow
Correct Answer: B) Inheritance
Rationale: Inheritance is a mechanism in CSS where certain properties applied to a parent
element are also applied to its child elements, unless overridden by a more specific rule.
Question 9
What is the cascading order of CSS styles, from lowest priority to highest priority?
A) Inline, Embedded, External
B) Embedded, External, Inline
C) External, Inline, Embedded
D) External, Embedded, Inline
Correct Answer: D) External, Embedded, Inline
Rationale: The "cascade" determines which rule applies when multiple rules conflict. Inline