APPLICATIONS PRACTICE EXAM 2026
QUESTIONS WITH ANSWERS GRADED A+
◉ What is the role of HTML in the web trifecta? Answer: HTML creates
and structures the site's contents.
◉ What is the role of CSS in the web trifecta? Answer: CSS adds style
and formatting to the structures.
◉ What is the role of JavaScript in the web trifecta? Answer: JS defines
the behavior of the site into something that users can interact with.
◉ How has HTML evolved to support modern design techniques?
Answer: HTML5 offers a wider range of development capabilities not
possible in prior iterations.
◉ Why is the doctype important? Answer: It informs the browser about
the version of HTML that the site is written in.
◉ How is an ordered list created? Answer: <ol> First Item Second Item
Third Item Fourth Item </ol>
,◉ How is an unordered list created? Answer: <ul> Item Item Item Item
</ul>
◉ How are structure elements different from basic elements? Answer:
Structure elements provide more structure to the document; basic
elements are used for layout/styling.
◉ How is HTML code validated? Answer: By ensuring that the web-
page is clean, error-free, accessible, and standards compliant according
to the W3C.
◉ Why is it important to validate code and adopt a single standard?
Answer: It helps create cross-browser/cross-platform compatible web
pages and ensures compatibility with future versions of web
browsers/standards.
◉ How do you embed a video in a webpage? Answer: <video
width="320" height="240" controls autoplay> <source
src="movie.mp4" type="video/mp4"> <source src="movie.ogg"
type="video/ogg"> </video>
◉ How do you embed an audio file in a webpage? Answer: <audio
loop> <source src="horse.ogg" type="audio/ogg"> <source
src="horse.mp3" type="audio/mpeg"> </audio>
,◉ What does the <p> tag represent? Answer: It defines a paragraph.
◉ What does the <li> tag define? Answer: It defines a list item.
◉ What is the purpose of the <header> tag? Answer: It represents a
container for introductory content or a set of links.
◉ What does Semantic HTML refer to? Answer: Tags that define the
meaning of the content they contain.
◉ What are APIs? Answer: Sets of definitions that facilitate building
websites or applications.
◉ What are the only supported audio and video standards/types by
HTML? Answer: Video: MP4, WebM, Ogg. Audio: MP3, WAV, Ogg.
◉ What does the page structure for every HTML document look like?
Answer: <html> <head> <title>Page Title</title> </head> <body>
<h1>This is a Heading</h1> <p>This is a Paragraph</p> <p>This is
another Paragraph</p> </body> </html>
◉ What is the difference between inline and block elements? Answer:
Inline elements do not start a new line, block elements do.
, ◉ What does <strong> do? Answer: It makes text bold.
◉ What does <em> do? Answer: It italicizes text.
◉ What does <a> do? Answer: It defines a hyperlink.
◉ What is the purpose of the selector in CSS? Answer: It specifies
which HTML elements the CSS rules apply to.
◉ What is a CSS declaration? Answer: It consists of a property and a
value.
◉ What is the rule in the CSS example 'h1 { color:blue; }'? Answer: h1
{ color:blue; }
◉ What is the selector in the CSS example '#wrapper { font-size:
1.25em; }'? Answer: #wrapper
◉ What is the property in the declaration '{color:blue; }'? Answer: color
◉ What is the value in the declaration '{color:blue; }'? Answer: blue