Web Development Applications Exam
Questions With Correct Answers A+
<!DOCTYPE> - Answer✔The first tag in an HTML document; it informs the interpreter
(usually a browser) which version of HTML the Web page is written in.
application programming interface (API) - Answer✔A source code specification that enables
components of an application or program to work together to produce the desired functionality.
Canvas - Answer✔An HTML5 used for rendering visual images on the fly by providing scripts
with a bitmap canvas.
cascading Style Sheets (CSS) - Answer✔A W3C technology for applying structure and
formatting instructions total pages and other markup language documents. Formatting can be
placed within the HTML or called remotely from an external style sheet.
H.264 - Answer✔A video codec supported by HTML5-compliant browsers that does not require
a plug-in; uses less battery and processing resources.
JavaScript - Answer✔scripting language that adds dynamic interactivity to Web pages.
Generally used on client side but can also be used on server side
MPEG-4 (MP4) - Answer✔A streaming, digital multimedia format used to store video, audio,
subtitles and still images.
Ogg - Answer✔An open-source audio and video format used for streaming digital multimedia.
Uses the Theoracodec for compression.
WebM - Answer✔An open-source media file format designed for the Web. Web M audio
streams are compressed with the Vorb is audio codec. WebM video streams are compressed with
the VP8 video codec.
A ____________ refers to any element to which designated styles are applied. -
Answer✔selector
A ___________ is a format instruction that consists of a specified selector and the properties and
values applied to it. - Answer✔rule
A ____________ declaration selector rule curly braces semicolon inheritence comment
consists of a property and its value. - Answer✔declaration
1|Page
, ©Jason McConnel 2025 ALL RIGHTS RESERVED.
To define multiple declarations for one selector within a rule, you must separate each declaration
with a
______________. - Answer✔semicolon
Except when declaring inline styles, you must place properties and their values within
_____________ . - Answer✔curly braces
If you want a particular rule in a style sheet to be ignored, you can create a
_________________ by placing code in between the /* and */ characters. - Answer✔comment
The style you define will flow, or cascade, throughout your documents, unless another style
defined inside of a page specifically overrides it. This concept is known as
_____________. - Answer✔inheritence
background-color: #008080; - Answer✔Declaration
body {background-color: #008080;} - Answer✔rule
#008080; - Answer✔value
body - Answer✔selector
background-color; - Answer✔property
Where do you place link for external style sheet - Answer✔<head> </head>
The element remains in the same position when the page is scrolled - Answer✔Fixed
The normal, or default, position of the element within a page. - Answer✔Static
The element appears to float above the document and can be positioned as needed. -
Answer✔Absolute
The element gets its position from the parent element. - Answer✔Inherit
The element's position is affected by other elements on the page, usually because of the top,
bottom, left, and right properties. - Answer✔Relative
In the CSS Box Model, the innermost box. - Answer✔Content
Achieved by assigning specific pixel widths to elements - Answer✔Fixed-width layout
In the CSS Box Model, the outer-most box that immediately encloses the border -
Answer✔Margin
Specifies the typeface to be used - Answer✔Font-family
Also known as relative width or fluid layout - Answer✔Liquid layout
Change the way a selector renders in a browser - Answer✔Property
2|Page
, ©Jason McConnel 2025 ALL RIGHTS RESERVED.
Also know as cascading, the way that styles flow throughout a document or site -
Answer✔inheritence
In the CSS Box model, the box that immediately encloses the padding - Answer✔Border
In the CSS Box Model, the defined are that immediately encloses the content - Answer✔Padding
Defines the file type, such as text or video, and the extension, such as css or mp4, for a user
agent or browser - Answer✔Multipurpose Internet Mail Extensions (MIME)
A descriptive characteristic of an object (such as color, width or height) that the developer
stipulates in the creation of the object - Answer✔property
What is the default value for aligning images relative to text using CSS? - Answer✔
Remy Sharp has created a script that has become the de facto standard for many Web developers
around the world. The script enables Web developers to: - Answer✔support HTML5 in older IE
browsers
What is the default value for aligning images relative to text using CSS? - Answer✔Bottom
CSS3: Selects every instance of a specified element whose specified attribute ends with the
specified value - Answer✔element[attribute$=value]
CSS3: Selects every instance of a specified element whose specified attribute contains the
specified substring value - Answer✔element[attribute*=value]
Selects every instance of a specified element whose specified attribute begins with the specified
value - Answer✔element[attribute^=value]
CSS3:Selects every checked instance of a specified element - Answer✔element:checked
CSS3:Selects every disabled instance of a specified element - Answer✔element:enabled
CSS3:Selects every instance of a specified element that is the first of its parent -
Answer✔element:first-of-type
CSS3:Selects every instance of a specified element that is the last of its parent -
Answer✔element:last-of-type
CSS3:Selects every instance of element2 that is preceded by an instance of element1 -
Answer✔element1-element2
CSS3: Specifies the painting area of the background - Answer✔background-clip
Positions the background-image relative to an element's border, padding or content -
Answer✔background-origin
Defines the size of background images - Answer✔background-size
Creates a border that uses an image instead of a line - Answer✔border-image
3|Page