Foundations Exam | Questions and
Answers Rated A+ | 2025/2026 Guide
True or false? The use of self-closing element tags should be avoided.
- Correct Answer - true
True or false? Developer guidelines suggest that you should always
provide labels and/or placeholders for widgets.
- Correct Answer - true
How does XML provide a software- and hardware-independent way of
storing, transporting, and sharing data?
- Correct Answer - By storing data in plain text format
XML simplifies the coding process regarding which of the following?
Select all that apply.
- Correct Answer –
Data Availability
Data Sharing
Data Transport
Platform Changes
What does proper nesting mean in the XML context?
- Correct Answer - When a nested XML element is opened inside the
parent element, it must be closed inside the parent element.
All XML elements must have a closing tag.
, - Correct Answer - false
What is the XML equivalent to the HTML Doctype declaration?
- Correct Answer - XML prolog
UTF-8 is not the default character encoding for XML documents.
- Correct Answer - false
Which of the following is the definition of a CSS declaration?
- Correct Answer - A CSS property followed by a colon (:) and the
property value
Which of the following is the definition of a CSS selector?
- Correct Answer - The HTML elements to which the specific style rule
applies
Which of the following is the definition of a CSS declaration block?
- Correct Answer - One or more declarations separated by semicolons (;)
A website should use an external stylesheet to create styles that apply to
all web pages.
- Correct Answer - true
valid pseudo-class selector examples.
- Correct Answer –
:empty
:enabled
:hover
:lang(language)